Class PositionNormalTextureVertex
Hierarchy
- PositionNormalTextureVertex
Index
Constructors
constructor
-
Creates a PositionNormalTextureVertex
Parameters
-
Optional position: Vector3
the position of the vertex (defaut: 0,0,0)
-
Optional normal: Vector3
the normal of the vertex (defaut: 0,1,0)
-
Optional uv: Vector2
the uv of the vertex (default: 0,0)
Returns PositionNormalTextureVertex
-
Properties
normalSearch playground for normal
the normal of the vertex (defaut: 0,1,0)
positionSearch playground for position
the position of the vertex (defaut: 0,0,0)
uvSearch playground for uv
the uv of the vertex (default: 0,0)
Methods
cloneSearch playground for clone
-
Clones the PositionNormalTextureVertex
Returns PositionNormalTextureVertex
the cloned PositionNormalTextureVertex
Contains position, normal and uv vectors for a vertex