Previous Up Next

M3copyMaterial
Creates a new material from an existing material.
The new material’s characteristics are identical to those of the source material and its name is '_newName_'.

HMat3d M3copyMaterial (
S3d _session_
HMat3d _material_
S _newNname_
)
Parameters

_session_
3D Session
_material_
Material
_newNname_
Name of new material
Return value

Copy of material