Previous Up Next

M3setPolygons
Takes a topology or a mesh as a parameter.
Redefines the primary texture coordinates for the polygons of the topology referenced by the mesh.
The new values replace the old ones (integer primary texture coordinates between 0 and 255).
The topology associated to the mesh automatically switches to 'dynamic' mode (as opposed to 'static').

I M3setPolygons (
S3d _session_
H3d _object_
[[HMat3d [[I I I] r1]] r1] _polygons_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
_polygons_
List of polygons
Return value

0 if successful, otherwise nil
Remark

In the case of a multi-topo mesh, only the active topology is concerned.
See Also

M3listOfPolygons