PolygonMesh.Vertices
 
 
 

PolygonMesh.Vertices operator

Description

Returns a VertexCollection containing each Vertex in the PolygonMesh.

C# Syntax

// get accessor
VertexCollection rtn = PolygonMesh.Vertices;

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oVertices = oCube.ActivePrimitive.Geometry.Vertices
for each oVertex in oVertices
        logmessage "Index of the vertex: " & oVertex.Index
next

See Also

Vertex VertexCollection