Previous Up Next

M3listOfPolygonsF
Takes a topology or a mesh as a parameter.
Returns the list of polygons of the topology referenced by the mesh.
Each polygon is a set (material, list of vertices). Each vertex is a triplet (index and two primary texture coordinates).
The texture coordinates are floating-point values. The edges of a texture are 0.0 and 1.0

[[HMat3d [[I F F] r1]] r1] M3listOfPolygonsF (
S3d _session_
H3d _object_
)
Parameters

_session_
3D Session
_object_
Topology or mesh
Return value

List of polygons
Remark

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

M3setPolygonsF