This is the documentation for Enlighten.
class Enlighten PrecompInputFace
class Enlighten::PrecompInputFace
A face (triangle) in EnlightenPrecomp input geometry.
This references other vertices and materials in the IPrecompInputMesh class.
Variables
Name | Description |
---|---|
const Geo::u8 faceTypeNormal = 0 | Enum values for m_FaceType. |
const Geo::u8 faceTypeSmoothBevel = 1 | Enum values for m_FaceType. |
Geo::u64 m_AlbedoId | An ID which assigns this PrecompInputFace to a face group. |
Geo::u8 m_FaceType | A type of the face. |
Geo::s32 m_Indices[3] | Vertex indices for the face. |
Geo::ZeroedPadding< 1 > m_Padding | unused padding |
Functions
Name | Description |
---|---|
PrecompInputFace() | Creates an empty PrecompInputFace. |
PrecompInputFace(Geo::s32, Geo::s32, Geo::s32, Geo::u64) | Creates a PrecompInputFace with existing vertex indices and albedo ID. |
PrecompInputFace(Geo::s32, Geo::s32, Geo::s32, Geo::u64, Geo::s16, Geo::u8) | Creates a PrecompInputFace with existing vertex indices, albedo ID and chart tag and face type. |
Enlighten::PrecompInputFace::PrecompInputFace
public: PrecompInputFace()
Creates an empty PrecompInputFace.
Enlighten::PrecompInputFace::PrecompInputFace
public: PrecompInputFace
(
  Geo::s32 index0,
  Geo::s32 index1,
  Geo::s32 index2,
  Geo::u64 albedoId
)
Creates a PrecompInputFace with existing vertex indices and albedo ID.
Enlighten::PrecompInputFace::PrecompInputFace
public: PrecompInputFace
(
  Geo::s32 index0,
  Geo::s32 index1,
  Geo::s32 index2,
  Geo::u64 albedoId,
  Geo::s16 chartTag,
  Geo::u8 faceType
)
Creates a PrecompInputFace with existing vertex indices, albedo ID and chart tag and face type.