[Contents] [Index] [Books]

CoCreate OneSpace Designer - Commands Reference Manual


SET_PART_INST_REFLECTANCE terminate action

SET_PART_INST_REFLECTANCE sets the part reflectance (power and color) of specified parts.

Syntax


--->(SET_PART_INST_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 part reflectance (color and power) of parts.

When to use

Use this action to set the part reflectance color and part 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 part reflectance (color and power) of the specified part.

SET_PART_INST_REFLECTANCE :PARTS "/sp2" :REFL_COLOR :RGB 0.73,1.0,0.8 :REFL_POWER 10

See also

SET_PART_BASE_REFLECTANCE terminate action SET_PART_INST_COLOR terminate action SET_PART_INST_DENSITY terminate action SET_PART_INST_TRANSPARENCY terminate action
[Contents] [Index] [Books]