Description :
This instruction returns the green component for the color of a specified channel of a material.
Parameters :
-
ObjectID of the material.
-
Color channel to assign:
MATERIAL_AMBIENTCOLOR : Ambient term of the material
MATERIAL_DIFFUSECOLOR : Diffuse term of the material
MATERIAL_SELFILLUMCOLOR : Emissive term of the material
Return Value :
-
Green component of the color.
Examples :
|