TrianglePoint.UV

Description

Returns the UV coordinates for this triangle point.

C# Syntax

// get accessor

UV rtn = TrianglePoint.UV;

Examples

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

See Also

Triangle TriangleCollection TrianglePointCollection Geometry