Sets the device state to render using a <Material> defined by Material_Flags options and alpha-blending opacity. This refers to the Material_Flags enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
int32 SelectMaterial( Material p_oNewMaterial, int32 p_nFlags, float64 p_fOpacity )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Material> | p_oNewMaterial | The <Material> to select into the rendering device. |
int32 | p_nFlags | A set of Material_Flags options indicating the rendering state. This refers to the Material_Flags enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
float64 | p_fOpacity | The alpha-blending weight for geometry rendered using the active <Material>. One is opaque, zero is completely transparent, and intermediate values blend between the current colors in the image and the newly rendered geometry. |
None published. Please look for an example in the Simdify Scripting Language code base.