Difference between revisions of "Vertex Class"

From Derivative
Jump to navigation Jump to search
(cleaning)
Line 1: Line 1:
{{TDClassSummary|label=Vertex|summary=A Vertex describes an instance to a single geometry vertex, contained within a Prim object.}}
+
{{TDClassSummary|label=Vertex|summary=A Vertex describes an instance to a single geometry vertex, contained within a [[Prim Class|Prim]] object.}}
 
<section begin=HELPBODY />
 
<section begin=HELPBODY />
 
{{ClassMemberSection|empty=
 
{{ClassMemberSection|empty=
Line 10: Line 10:
 
     |type=OP
 
     |type=OP
 
     |set=0
 
     |set=0
     |text=The OP to which this object belongs.
+
     |text=The [[OP Class|OP]] to which this object belongs.}}
}}
 
 
{{ClassMember
 
{{ClassMember
 
     |class=Vertex
 
     |class=Vertex
Line 17: Line 16:
 
     |type=td.Point
 
     |type=td.Point
 
     |set=1
 
     |set=1
     |text=Get or set the point to which the vertex refers.
+
     |text=Get or set the [[Point Class|point]] to which the vertex refers.}}
}}
 
 
{{ClassMember
 
{{ClassMember
 
     |class=Vertex
 
     |class=Vertex
Line 24: Line 22:
 
     |type=td.Prim
 
     |type=td.Prim
 
     |set=0
 
     |set=0
     |text=The prim to which the vertex belongs.
+
     |text=The [[Prim Class|prim]] to which the vertex belongs.}}
}}
 
 
{{ClassMember
 
{{ClassMember
 
     |class=Vertex
 
     |class=Vertex
Line 31: Line 28:
 
     |type=int
 
     |type=int
 
     |set=0
 
     |set=0
     |text=The vertex position in its primitive.
+
     |text=The vertex position in its [[Prim Class|primitive]].}}
}}
 
 
{{SubSection
 
{{SubSection
 
     |title=Attributes
 
     |title=Attributes

Revision as of 19:01, 21 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: