Previous Up Next

M3setMaterialDiffuse
Redefines the three diffuse RGB components of a material, the color is coded in 24 bit hexadecimal.

I M3setMaterialDiffuse (
S3d _session_
HMat3d _material_
I _color_
)
Parameters

_session_
3D Session
_material_
Material
_color_
Diffuse component
Return value

0 if successful, otherwise nil