Sets the device state to render using a <Material> defined by Material_Flags options and alpha-blending opacity. The new <Material> state inherits current texture state, if the flags do not include MF_Solid, and the current program, if the flags do not include MF_InheritProgram. This refers to the Material_Flags enumeration. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information.
int32 SelectMaterialState( int32 Flags, float64 Opacity )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | Flags | 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 | Opacity | 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.