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=
+
     |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>
 +
See: Attribute Class for more information.
 
}}}}
 
}}}}
 
{{ClassMethodSection|empty=True
 
{{ClassMethodSection|empty=True
 
|Sectionsummary=
 
|Sectionsummary=
|items=In addition to the above members, all attributes are members as well.
+
|items=
For example, if the Vertex contains texture coordinates, they may be accessed with:<code>Vertex.uv</code>
 
See: Attribute Class for more information.
 
 
}}
 
}}
 
<section end=HELPBODY />
 
<section end=HELPBODY />
 
{{History}}
 
{{History}}
 
{{#invoke:Category|list|Python Reference}}
 
{{#invoke:Category|list|Python Reference}}

Revision as of 15:59, 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: