Uranium
Application Framework
|
A vertex with a position and a normal. More...
Inherits object.
Public Member Functions | |
__init__ (self, *args, **kwargs) | |
Construct a vertex. | |
position (self) | |
Get the position the vertex. | |
normal (self) | |
Get the normal the vertex. | |
hasNormal (self) | |
toString (self) | |
Convert the vertex into a string, which is required for parsing over sockets / streams It's kinda hackish to do it this way, but it would take to much effort to implement myself. | |
Protected Attributes | |
_position | |
_normal | |
A vertex with a position and a normal.
UM.Mesh.Vertex.Vertex.__init__ | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Construct a vertex.
Possible keyword parameters:
Unnamed arguments:
UM.Mesh.Vertex.Vertex.normal | ( | self | ) |
Get the normal the vertex.
UM.Mesh.Vertex.Vertex.position | ( | self | ) |
Get the position the vertex.