Previous Up Next

M3getMat
Returns a material’s handle, given its name. Returns nil if not found.
If there is a conflict of names, the last material created is returned.

HMat3d M3getMat (
S3d _session_
S _name_
)
Parameters

_session_
3D Session
_name_
Name of material
Return value

Material handle if successful, otherwise nil