Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
W3DShadowTexture Class Reference

Inherits RefCountClass, and HashableClass.

Public Member Functions

 W3DShadowTexture (void)
 
 ~W3DShadowTexture (void)
 
virtual const char * Get_Key (void)
 
Int init (RenderObjClass *robj)
 
const char * Get_Name (void) const
 
void Set_Name (const char *name)
 
TextureClassgetTexture (void)
 
void setTexture (TextureClass *texture)
 
void setLightPosHistory (Vector3 &pos)
 updates the last position of light
 
Vector3getLightPosHistory (void)
 
void setObjectOrientationHistory (Matrix3x3 &mat)
 updates the last position of light
 
Matrix3x3getObjectOrientationHistory (void)
 
SphereClassgetBoundingSphere (void)
 
AABoxClassgetBoundingBox (void)
 
void setBoundingSphere (SphereClass &sphere)
 
void setBoundingBox (AABoxClass &box)
 
void updateBounds (Vector3 &lightPos, RenderObjClass *robj)
 update extent of shadow
 
void setDecalUVAxis (Vector3 &u, Vector3 &v)
 
void getDecalUVAxis (Vector3 *u, Vector3 *v)
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 
- Public Member Functions inherited from HashableClass
 HashableClass (void)
 
virtual ~HashableClass (void)
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Detailed Description

Definition at line 157 of file W3DProjectedShadow.cpp.

Constructor & Destructor Documentation

◆ W3DShadowTexture()

W3DShadowTexture::W3DShadowTexture ( void )
inline

Definition at line 162 of file W3DProjectedShadow.cpp.

◆ ~W3DShadowTexture()

W3DShadowTexture::~W3DShadowTexture ( void )
inline

Definition at line 167 of file W3DProjectedShadow.cpp.

Member Function Documentation

◆ Get_Key()

virtual const char * W3DShadowTexture::Get_Key ( void )
inlinevirtual

Implements HashableClass.

Definition at line 169 of file W3DProjectedShadow.cpp.

◆ Get_Name()

const char * W3DShadowTexture::Get_Name ( void ) const
inline

Definition at line 173 of file W3DProjectedShadow.cpp.

◆ getBoundingBox()

AABoxClass & W3DShadowTexture::getBoundingBox ( void )
inline

Definition at line 185 of file W3DProjectedShadow.cpp.

◆ getBoundingSphere()

SphereClass & W3DShadowTexture::getBoundingSphere ( void )
inline

Definition at line 184 of file W3DProjectedShadow.cpp.

◆ getDecalUVAxis()

void W3DShadowTexture::getDecalUVAxis ( Vector3 * u,
Vector3 * v )
inline

Definition at line 190 of file W3DProjectedShadow.cpp.

◆ getLightPosHistory()

Vector3 & W3DShadowTexture::getLightPosHistory ( void )
inline

Definition at line 181 of file W3DProjectedShadow.cpp.

◆ getObjectOrientationHistory()

Matrix3x3 & W3DShadowTexture::getObjectOrientationHistory ( void )
inline

Definition at line 183 of file W3DProjectedShadow.cpp.

◆ getTexture()

TextureClass * W3DShadowTexture::getTexture ( void )
inline

Definition at line 178 of file W3DProjectedShadow.cpp.

◆ init()

Int W3DShadowTexture::init ( RenderObjClass * robj)
Todo
: implement this function

Definition at line 2262 of file W3DProjectedShadow.cpp.

◆ Set_Name()

void W3DShadowTexture::Set_Name ( const char * name)
inline

Definition at line 174 of file W3DProjectedShadow.cpp.

◆ setBoundingBox()

void W3DShadowTexture::setBoundingBox ( AABoxClass & box)
inline

Definition at line 187 of file W3DProjectedShadow.cpp.

◆ setBoundingSphere()

void W3DShadowTexture::setBoundingSphere ( SphereClass & sphere)
inline

Definition at line 186 of file W3DProjectedShadow.cpp.

◆ setDecalUVAxis()

void W3DShadowTexture::setDecalUVAxis ( Vector3 & u,
Vector3 & v )
inline

Definition at line 189 of file W3DProjectedShadow.cpp.

◆ setLightPosHistory()

void W3DShadowTexture::setLightPosHistory ( Vector3 & pos)
inline

updates the last position of light

Definition at line 180 of file W3DProjectedShadow.cpp.

◆ setObjectOrientationHistory()

void W3DShadowTexture::setObjectOrientationHistory ( Matrix3x3 & mat)
inline

updates the last position of light

Definition at line 182 of file W3DProjectedShadow.cpp.

◆ setTexture()

void W3DShadowTexture::setTexture ( TextureClass * texture)
inline

Definition at line 179 of file W3DProjectedShadow.cpp.

◆ updateBounds()

void W3DShadowTexture::updateBounds ( Vector3 & lightPos,
RenderObjClass * robj )

update extent of shadow

Todo
: fix for multiple lights

Definition at line 2276 of file W3DProjectedShadow.cpp.


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