Project

General

Profile

Previous Up Next

M3setMaterialTransparency
Changes the transparency coefficient associated with a material (integer value between 0 and 255). By default, its value is 1.

I M3setMaterialTransparency (
S3d _session_
HMat3d _material_
I _coef_
)
Parameters

_session_
3D Session
_material_
Material
_coef_
Transparency coefficient
Return value

0 if successful, otherwise nil