PolygonMesh.Nodes operator

Description

Returns a PolygonNodeCollection containing each PolygonNode in the PolygonMesh.

C# Syntax

// get accessor
PolygonNodeCollection rtn = PolygonMesh.Nodes;

Examples

VBScript Example

set oCube = ActiveSceneRoot.AddGeometry("Cube","MeshSurface")
set oNodes = oCube.ActivePrimitive.Geometry.Nodes
for each oNode in oNodes
	logmessage "Index of the polygonnode: " & oNode.Index
next

See Also

Sample SampleCollection Geometry.Samples