Previous Up Next

M3setMaterialColor
Defines the color '_num_' (= 1 or 2) applied to a material.
By default, these colors are white : 0xFFFFFF

I M3setMaterialColor (
S3d _session_
HMat3d _material_
I _num_
I _color_
)
Parameters

_session_
3D Session
_material_
Material
_num_
Color number
_color_
RGB color in 24 bit hexadecimal
Return value

0 if successful, otherwise nil