TrianglePointCollection.UVArray

説明

このコレクションのトライアングルポイントの UV 座標を、各TrianglePointの u,v 値の 2D Array([u,v values][TrianglePoint])として戻します。

VBScript の例

set root = application.activeproject.activescene.root
set obj = root.addgeometry( "Cube", "MeshSurface" )
set triangle = obj.activeprimitive.geometry.Triangles(0)
set Points = triangle.Points
a = triangle.points.uvarray
for i = LBound(a,2) to UBound(a,2)
        logmessage "p.uv = " & a(0,i) & "," & a(1,i)
next