Triangle.Index

説明

ジオメトリ内のこの Triangle のインデックスをIntegerとして戻します。

C#構文

// get accessor

Int32 rtn = Triangle.Index;

VBScript の例

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

関連項目

TriangleCollection TrianglePoint TrianglePointCollection Geometry