TrianglePointCollection.Array
 
 
 

TrianglePointCollection.Array

Description

Returns the triangle point collection as an Array of TrianglePoint objects.

C# Syntax

// get accessor
Object rtn = TrianglePointCollection.Array;

Examples

VBScript Example

set root = application.activeproject.activescene.root
set obj = root.addgeometry( "Cube", "MeshSurface" )
set triangle = obj.activeprimitive.geometry.Triangles(0)
set Points = triangle.Points
a = triangle.points.array
for i = LBound(a,1) to UBound(a,1)
        logmessage "p.normal = " & a(0) & "," & a(1) & "," & a(2)
next