wavelength 1.0.0
Loading...
Searching...
No Matches
RndMesh::Vert Class Reference

One vertex. More...

#include <rndmesh.h>

Collaboration diagram for RndMesh::Vert:

Public Member Functions

 Vert ()
 Construct a white vertex at the origin with no normal and no weights.

Public Attributes

Vector3 mPos
Vector3 mNorm
Color mColor
Vector2 mTex
float mWeight1
float mWeight2

Detailed Description

One vertex.

The RTTI includes the nested class name. A mutable PsMesh sends each vertex by a DMA REF tag and the skinning code stores it with quadword writes, so a vertex starts on a quadword.

Constructor & Destructor Documentation

◆ Vert()

RndMesh::Vert::Vert ( )
inline

Construct a white vertex at the origin with no normal and no weights.

Member Data Documentation

◆ mPos

Vector3 RndMesh::Vert::mPos

The position.

◆ mNorm

Vector3 RndMesh::Vert::mNorm

The normal.

◆ mColor

Color RndMesh::Vert::mColor

The colour.

◆ mTex

Vector2 RndMesh::Vert::mTex

The texture coordinates.

◆ mWeight1

float RndMesh::Vert::mWeight1

The weight of the first bone transform.

◆ mWeight2

float RndMesh::Vert::mWeight2

The weight of the second bone transform.


The documentation for this class was generated from the following file: