#include <TRenderPacket.h>
Definition at line 9 of file TRenderPacket.h.
◆ TRenderPacket()
TRenderPacket::TRenderPacket |
( |
| ) |
|
Definition at line 12 of file TRenderPacket.cpp.
13{
14 m_pNextPacket =
TNULL;
16 m_pSkeletonInstance =
TNULL;
17 m_oAmbientColour = { 0.24f, 0.24f, 0.24f };
18 m_oLightColour.x = 1.0f;
19 m_oLightColour.y = 1.0f;
20 m_oLightColour.z = 0.65f;
21 m_oLightDirection.x = -0.47f;
22 m_oLightDirection.y = 0.74f;
23 m_oLightDirection.z = 0.47f;
24 m_ui8Unk1 = 255;
25}
◆ ~TRenderPacket()
TRenderPacket::~TRenderPacket |
( |
| ) |
|
◆ GetAlpha()
TFLOAT TRenderPacket::GetAlpha |
( |
| ) |
const |
|
inline |
◆ GetAmbientColour()
const TVector3 & TRenderPacket::GetAmbientColour |
( |
| ) |
const |
|
inline |
◆ GetLightColour()
const TVector3 & TRenderPacket::GetLightColour |
( |
| ) |
const |
|
inline |
◆ GetLightDirection()
const TVector3 & TRenderPacket::GetLightDirection |
( |
| ) |
const |
|
inline |
◆ GetMaterial()
TMaterial * TRenderPacket::GetMaterial |
( |
| ) |
const |
|
inline |
◆ GetMesh()
TMesh * TRenderPacket::GetMesh |
( |
| ) |
const |
|
inline |
◆ GetModelViewMatrix()
TMatrix44 & TRenderPacket::GetModelViewMatrix |
( |
| ) |
|
|
inline |
◆ GetNextPacket()
◆ GetShadeCoeff()
TUINT8 TRenderPacket::GetShadeCoeff |
( |
| ) |
const |
|
inline |
◆ GetSkeletonInstance()
◆ SetAlpha()
void TRenderPacket::SetAlpha |
( |
TFLOAT | val | ) |
|
|
inline |
◆ SetAmbientColour()
void TRenderPacket::SetAmbientColour |
( |
const TVector3 & | a_rColour | ) |
|
|
inline |
◆ SetLightColour()
void TRenderPacket::SetLightColour |
( |
const TVector3 & | a_rColour | ) |
|
|
inline |
◆ SetLightDirection()
void TRenderPacket::SetLightDirection |
( |
const TVector3 & | a_rDirection | ) |
|
|
inline |
Definition at line 36 of file TRenderPacket.h.
36{ m_oLightDirection = a_rDirection; }
◆ SetMaterial()
void TRenderPacket::SetMaterial |
( |
TMaterial * | pMaterial | ) |
|
|
inline |
◆ SetMesh()
void TRenderPacket::SetMesh |
( |
TMesh * | a_pMesh | ) |
|
|
inline |
◆ SetModelViewMatrix()
void TRenderPacket::SetModelViewMatrix |
( |
TMatrix44 & | a_rMatrix44 | ) |
|
|
inline |
◆ SetNextPacket()
void TRenderPacket::SetNextPacket |
( |
TRenderPacket * | a_pNextPacket | ) |
|
|
inline |
◆ SetShadeCoeff()
void TRenderPacket::SetShadeCoeff |
( |
TUINT8 | val | ) |
|
|
inline |
◆ SetSkeletonInstance()
Definition at line 22 of file TRenderPacket.h.
22{ m_pSkeletonInstance = a_pSkeletonInstance; }
The documentation for this class was generated from the following files: