TrianglePoint.Normal

Description

Returns the normal for this triangle point as an SIVector3. Triangles that belong to the same polygon have the same normal values.

C# Syntax

// get accessor
Object rtn = TrianglePoint.Normal;

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
	 logmessage "p.normal: " & p.normal.x & "," & p.normal.y & "," & p.normal.z
next

See Also

Triangle TriangleCollection TrianglePointCollection Geometry