Returns the index of this Triangle in its geometry as an Integer.
// get accessor Int32 rtn = Triangle.Index; |
set root = Application.ActiveProject.ActiveScene.Root set obj = root.AddGeometry( "Cube", "MeshSurface" ) set geometry = obj.ActivePrimitive.Geometry set triangle = geometry.Triangles(0) Application.LogMessage triangle.name & "'s index = " & triangle.index |