TrianglePoint.Position
 
 
 

TrianglePoint.Position

Description

Returns the position for this triangle point as an SIVector3.

C# Syntax

// get accessor
Object rtn = TrianglePoint.Position;

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

See Also

Triangle TriangleCollection TrianglePointCollection Geometry