Description
Specifies material parameters for the lighting model.
Syntax
Sub RFDrawTools.GLMaterial(Face As GLFaceMode, mode As GLMaterialMode, r As Single, g As Single, b As Single, a As Single)
The GLMaterial syntax has these parts:
| Part | Description |
|---|---|
| Face | [IN] GLFaceMode Required. Indicating front, back or both of front and back polygon to modify the material. |
| mode | [IN] GLMaterialMode Required. Indicating material mode to modify. |
| r | [IN] Single Required. Red value for the specified material mode ranging from 0.0 to 1.0 |
| g | [IN] Single Required. Green value for the specified material mode ranging from 0.0 to 1.0 |
| b | [IN] Single Required. Blue value for the specified material mode ranging from 0.0 to 1.0 |
| a | [IN] Single Required. Alpha value for the specified material mode ranging from 0.0 to 1.0 |
Note