TrianglePoint.Position

説明

このトライアングルポイントの位置をSIVector3として戻します。

C#構文

// get accessor

Object rtn = TrianglePoint.Position;

VBScript の例

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

関連項目

Triangle TriangleCollection TrianglePointCollection Geometry