Returns the position for this triangle point as an SIVector3.
// get accessor Object rtn = TrianglePoint.Position; |
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 |