Difference between revisions of "Vertex Class"

From Derivative
Jump to navigation Jump to search
Line 16: Line 16:
 
     |name=point
 
     |name=point
 
     |type=td.Point
 
     |type=td.Point
     |set=0
+
     |set=1
     |text=The point to which the vertex refers.
+
     |text=Get or set the point to which the vertex refers.
 
}}
 
}}
 
{{ClassMember
 
{{ClassMember

Revision as of 11:15, 6 June 2018

A Vertex describes an instance to a single geometry vertex, contained within a Prim object.


Members[edit]

ownerOP (Read Only):

The OP to which this object belongs.

pointtd.Point :

Get or set the point to which the vertex refers.

primtd.Prim (Read Only):

The prim to which the vertex belongs.

indexint (Read Only):

The vertex position in its primitive.

Attributes[edit]

In addition to the above members, all attributes are members as well.

For example, if the Vertex contains texture coordinates, they may be accessed with:Vertex.uv

See: Attribute Class for more information.

Methods[edit]

No operator specific methods.


TouchDesigner Build: