ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <actor.h>

Inheritance diagram for Stark::VisualActor:
Collaboration diagram for Stark::VisualActor:

List of all members.

Public Member Functions

 VisualActor ()
 ~VisualActor () override
void setModel (Model *model)
void setTexture (Gfx::TextureSet *texture)
void setTextureFacial (Gfx::TextureSet *textureFacial)
void setNewFace (char shape)
void setAnimHandler (AnimHandler *animHandler)
void setTime (uint32 time)
void setCastShadow (bool cast)
bool intersectRay (const Math::Ray &ray, const Math::Vector3d &position, float direction)
Common::Rect getBoundingRect (const Math::Vector3d &position3d, float direction) const
virtual void render (const Math::Vector3d &position, float direction, const Common::Array< Gfx::LightEntry * > &lights)=0

Static Public Attributes

static const VisualType TYPE = Visual::kActor

Protected Member Functions

Math::Matrix4 getModelMatrix (const Math::Vector3d &position, float direction) const
const Gfx::TextureresolveTexture (const Material *material) const

Protected Attributes

AnimHandler_animHandler
Model_model
Gfx::TextureSet_textureSet
Gfx::TextureSet_textureSetFacial
char _faceTextureName
uint32 _time
bool _modelIsDirty
bool _castsShadow

Detailed Description

Definition at line 51 of file stark/visual/actor.h.


Constructor & Destructor Documentation

Stark::VisualActor::VisualActor (  ) 

Definition at line 34 of file stark/visual/actor.cpp.

Stark::VisualActor::~VisualActor (  )  [override]

Definition at line 46 of file stark/visual/actor.cpp.


Member Function Documentation

Common::Rect Stark::VisualActor::getBoundingRect ( const Math::Vector3d position3d,
float  direction 
) const

Definition at line 136 of file stark/visual/actor.cpp.

Math::Matrix4 Stark::VisualActor::getModelMatrix ( const Math::Vector3d position,
float  direction 
) const [protected]

Definition at line 96 of file stark/visual/actor.cpp.

bool Stark::VisualActor::intersectRay ( const Math::Ray ray,
const Math::Vector3d position,
float  direction 
)

Definition at line 125 of file stark/visual/actor.cpp.

virtual void Stark::VisualActor::render ( const Math::Vector3d position,
float  direction,
const Common::Array< Gfx::LightEntry * > &  lights 
) [pure virtual]
const Gfx::Texture * Stark::VisualActor::resolveTexture ( const Material material  )  const [protected]

Definition at line 74 of file stark/visual/actor.cpp.

void Stark::VisualActor::setAnimHandler ( AnimHandler animHandler  ) 

Definition at line 58 of file stark/visual/actor.cpp.

void Stark::VisualActor::setCastShadow ( bool  cast  )  [inline]

Definition at line 66 of file stark/visual/actor.h.

void Stark::VisualActor::setModel ( Model model  ) 

Definition at line 49 of file stark/visual/actor.cpp.

void Stark::VisualActor::setNewFace ( char  shape  ) 

Definition at line 70 of file stark/visual/actor.cpp.

void Stark::VisualActor::setTexture ( Gfx::TextureSet texture  ) 

Definition at line 62 of file stark/visual/actor.cpp.

void Stark::VisualActor::setTextureFacial ( Gfx::TextureSet textureFacial  ) 

Definition at line 66 of file stark/visual/actor.cpp.

void Stark::VisualActor::setTime ( uint32  time  ) 

Definition at line 92 of file stark/visual/actor.cpp.


Member Data Documentation

Definition at line 74 of file stark/visual/actor.h.

Definition at line 81 of file stark/visual/actor.h.

Definition at line 78 of file stark/visual/actor.h.

Definition at line 75 of file stark/visual/actor.h.

Definition at line 80 of file stark/visual/actor.h.

Definition at line 76 of file stark/visual/actor.h.

Definition at line 79 of file stark/visual/actor.h.

const VisualType Stark::VisualActor::TYPE = Visual::kActor [static]

Definition at line 53 of file stark/visual/actor.h.


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


Generated on Sat May 18 2019 05:07:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge