ジオメトリ内のこのトライアングルポイントのインデックスを表すIntegerを戻します。
// get accessor Int32 rtn = TrianglePoint.Index; |
set root = application.activeproject.activescene.root set obj = root.addgeometry( "Cube", "MeshSurface" ) set geometry = obj.activeprimitive.geometry set triangle = geometry.Triangles(0) logmessage triangle.name & "'s index = " & triangle.index for each p in triangle.Points logmessage "p.index: " & p.index next |