Object Hierarchy | Related C++ Class: CUV
v1.5
This object represents a UV coordinate.
'VBScript example
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
|