TYPE |
THE BOX'S MAIN HELP: The state->type value will be the type of ray cast. This function return miTRUE if TYPE matches the current state->type. miRAY_EYE rays are primary rays. miRAY_TRANSPARENT rays are cast to determine transparency. miRAY_REFLECT rays are cast to determine reflections. miRAY_REFRACT rays are cast to determine refractions. miRAY_SHADOW rays are cast by lights to determine shadows. miRAY_LIGHT rays are cast when lights are evaluated. miRAY_ENVIRNOMENT rays are cast to sample an environment map. miRAY_NONE is none of the above or all other rays. TYPE (input): This value is of type miRay_type. Must be one these: miRAY_EYE rays are primary rays. miRAY_TRANSPARENT rays are cast to determine transparency. miRAY_REFLECT rays are cast to determine reflections. miRAY_REFRACT rays are cast to determine refractions. miRAY_SHADOW rays are cast by lights to determine shadows. miRAY_LIGHT rays are cast when lights are evaluated. miRAY_ENVIRNOMENT rays are cast to sample an environment map. miRAY_NONE is none of the above or all other rays. OUT (output): Returns miTrue if state->type matches the input TYPE, else miFalse. |
© Copyright 1996,1998 Cinema Graphics Inc. All Rights reserved.