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 setAnim (SkeletonAnim *anim)
void setTime (uint32 time)
void resetBlending ()
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

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 146 of file stark/visual/actor.cpp.

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

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

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

Definition at line 129 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]
void Stark::VisualActor::resetBlending (  ) 

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

const Gfx::Texture * Stark::VisualActor::resolveTexture ( const Material material  )  const [protected]

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

void Stark::VisualActor::setAnim ( SkeletonAnim anim  ) 

Definition at line 62 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 68 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 74 of file stark/visual/actor.cpp.

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

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

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

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

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

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

Member Data Documentation

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

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

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

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

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

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

Definition at line 81 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 Jan 12 2019 05:05:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge