RFDrawTools.GLMaterial



Your Ad Here

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 [INGLFaceMode Required. Indicating front, back or both of front and back polygon to modify the material.
mode [INGLMaterialMode Required. Indicating material mode to modify.
r [INSingle Required. Red value for the specified material mode ranging from 0.0 to 1.0
g [INSingle Required. Green value for the specified material mode ranging from 0.0 to 1.0
b [INSingle Required. Blue value for the specified material mode ranging from 0.0 to 1.0
a [INSingle Required. Alpha value for the specified material mode ranging from 0.0 to 1.0

Note

 

Return to Rapidform Index


Your Ad Here