Previous Up Next

M3setFaceMaterial
Takes a topology as a parameter.
Defines the material used for face number '_index_'.
The topology automatically switches to 'dynamic' mode (as opposed to 'static').

I M3setFaceMaterial (
S3d _session_
H3d _topo_
I _index_
HMat3d _material_
)
Parameters

_session_
3D Session
_topo_
Topology
_index_
Face index
_material_
Material to be attributed
Return value

0 if successful, otherwise nil
See Also

M3getFaceMaterial