Previous Up Next

M3setMaterialFlat
Changes the default color (used during texture streaming) associated with a material.

I M3setMaterialFlat (
S3d _session_
HMat3d _material_
I _color_
)
Parameters

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

0 if successful, otherwise nil