PolygonMesh.Edges operator

Description

Returns an EdgeCollection containing each Edge in the PolygonMesh.

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oEdges = oCube.ActivePrimitive.Geometry.Edges
for each oEdge in oEdges
        logmessage "Index of the edge: " & oEdge.Index
next

See Also

Edge EdgeCollection Geometry.Samples