TrianglePoint.UV

TrianglePoint.UV

説明

このトライアングルポイントのUV座標を戻します。

C#構文

// get accessor

UV rtn = TrianglePoint.UV;

VBScript の例

dim u,v

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 "uv = " & p.uv.u & "," & p.uv.v

next

関連項目

Triangle TriangleCollection TrianglePointCollection Geometry