Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
G3D::ArticulatedModel::Geometry::Face::Vertex Class Reference

Needed to extend CPUVertexArray::Vertex with texCoord1 and bone values. More...

Inherits G3D::CPUVertexArray::Vertex.

Public Member Functions

 Vertex ()
 
 Vertex (const CPUVertexArray::Vertex &v, int i)
 
void transformBy (const CoordinateFrame &cframe)
 

Public Attributes

Vector4int32 boneIndices
 
Vector4 boneWeights
 
int indexInSourceGeometry
 Index in the containing Face's Geometry's cpuVertexArray. More...
 
Vector3 normal
 Part-space normal. More...
 
Point3 position
 Part-space position. More...
 
Vector4 tangent
 xyz = tangent, w = sign More...
 
Point2 texCoord0
 Texture coordinate 0. More...
 
Point2unorm16 texCoord1
 
Color4 vertexColor
 

Detailed Description

Needed to extend CPUVertexArray::Vertex with texCoord1 and bone values.

Constructor & Destructor Documentation

◆ Vertex() [1/2]

G3D::ArticulatedModel::Geometry::Face::Vertex::Vertex ( )
inline

◆ Vertex() [2/2]

G3D::ArticulatedModel::Geometry::Face::Vertex::Vertex ( const CPUVertexArray::Vertex v,
int  i 
)
inline

Member Function Documentation

◆ transformBy()

void G3D::CPUVertexArray::Vertex::transformBy ( const CoordinateFrame cframe)
inherited

Member Data Documentation

◆ boneIndices

Vector4int32 G3D::ArticulatedModel::Geometry::Face::Vertex::boneIndices

◆ boneWeights

Vector4 G3D::ArticulatedModel::Geometry::Face::Vertex::boneWeights

◆ indexInSourceGeometry

int G3D::ArticulatedModel::Geometry::Face::Vertex::indexInSourceGeometry

Index in the containing Face's Geometry's cpuVertexArray.

◆ normal

Vector3 G3D::CPUVertexArray::Vertex::normal
inherited

Part-space normal.

Referenced by G3D::Tri::normal(), G3D::Tri::tangent2(), and Vertex().

◆ position

Point3 G3D::CPUVertexArray::Vertex::position
inherited

◆ tangent

Vector4 G3D::CPUVertexArray::Vertex::tangent
inherited

xyz = tangent, w = sign

Referenced by G3D::Tri::packedTangent(), G3D::Tri::tangent(), G3D::Tri::tangent2(), and Vertex().

◆ texCoord0

Point2 G3D::CPUVertexArray::Vertex::texCoord0
inherited

◆ texCoord1

Point2unorm16 G3D::ArticulatedModel::Geometry::Face::Vertex::texCoord1

◆ vertexColor

Color4 G3D::ArticulatedModel::Geometry::Face::Vertex::vertexColor

documentation generated on Wed Nov 24 2021 08:01:53 using doxygen 1.8.15