TriangleCollection

Related C++ Class: CTriangleRefArray

Introduced

v1.5

Description

A collection of Triangle objects that represents all the triangles in the Geometry. The TriangleCollection object is accessed via the Geometry.Triangles property.

Properties

Array ColorArray Count operator IndexArray
PolygonNodeNormalArray PositionArray UVArray  
       

Examples

VBScript Example

set root = Application.ActiveProject.ActiveScene.Root
set obj = root.AddGeometry( "Cube", "MeshSurface" )
set geometry = obj.ActivePrimitive.Geometry
set triangles = geometry.Triangles

See Also

Geometry.Triangles Triangle.NeighborTriangles