Previous Up Next

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

I M3setMaterialAmbient (
S3d _session_
HMat3d _material_
I _color_
)
Parameters

_session_
3D Session
_material_
Material
_color_
Ambient component
Return value

0 if successful, otherwise nil