Difference between revisions of "Vertex Class"

From Derivative
Jump to navigation Jump to search
Line 35: Line 35:
 
{{SubSection
 
{{SubSection
 
     |title=Attributes
 
     |title=Attributes
     |text=In addition to the above members, all attributes are members as well.  
+
     |text=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:<code>Vertex.uv</code>  
 
For example, if the Vertex contains texture coordinates, they may be accessed with:<code>Vertex.uv</code>  
 +
 
See: Attribute Class for more information.
 
See: Attribute Class for more information.
 
}}}}
 
}}}}

Revision as of 16:00, 29 September 2017

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 (Read Only):

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: