TrianglePoint.NormalArray

Description

Returns the normal for this triangle point as a 1-dimensional Array of Integer values, organized as: [x,y,z values]

C# Syntax

// get accessor
Object rtn = TrianglePoint.NormalArray;

Examples

VBScript Example

set root = application.activeproject.activescene.root
set obj = root.addgeometry( "Cube", "MeshSurface" )
set triangle = obj.activeprimitive.geometry.triangles(0)
for each p in triangle.Points
	a = p.NormalArray
	logmessage "p.normal: " & a(0) & "," & a(1) & "," & a(2)
next