Triangle.IndexArray

説明

このトライアングルのTrianglePointインデックスのArrayを戻します([x,y,z 値]など)。

C#構文

// get accessor

Object rtn = Triangle.IndexArray;

VBScript の例

set root = Application.ActiveProject.ActiveScene.Root

set obj = root.AddGeometry( "Cube", "MeshSurface" )

set triangles = obj.ActivePrimitive.Geometry.Triangles

for i=0 to triangles.count - 1

	set t = triangles(i)

	a = t.IndexArray

	for j=LBound( a, 1 ) to UBound( a, 1 )

		Application.LogMessage "t" & i & ".p" & j & ".index: " & a(j)

	next

next