[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_PART_BASE_REFLECTANCE terminate action

SET_PART_BASE_REFLECTANCE sets the base reflectance (power and color) of specified parts.

Syntax


--->(SET_PART_BASE_REFLECTANCE)--(:PARTS)--|parts|--+
                                                    |
     +----------------------------------------------+
     |
     +--(:REFL_COLOR)--|GET_RGB_COLOR|--(:REFL_POWER)--|power|--+-->
     |                                                          |
     +--(:COPY)---(:REF_SRC)--|part|----------------------------+
     |                                                          |
     +--(:CLR)--------------------------------------------------+

Options

The following options are available to set the base reflectance color and power of parts.

When to use

Use this action to set the base reflectance color and base reflectance power for parts. Different materials or surface finishes may be simulated by setting face reflectance properties.

The power value you enter must lie in the range 0 to 16383. A setting of 0 turns off reflectance.

Example

The following parameter sequence sets the base reflectance of the specified part.

SET_PART_BASE_REFLECTANCE :PARTS "/sp2" :REFL_COLOR :RGB 0.23,1.0,0.8 :REFL_POWER 4

See also

SET_PART_INST_REFLECTANCE terminate action SET_PART_BASE_COLOR terminate action SET_PART_BASE_DENSITY terminate action SET_PART_BASE_TRANSPARENCY terminate action
[Contents] [Index] [Books]