ScummVM API documentation
Stark::VisualActor Class Referenceabstract
Inheritance diagram for Stark::VisualActor:
Stark::Visual Stark::Gfx::TinyGLActorRenderer

Public Member Functions

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
 
- Public Member Functions inherited from Stark::Visual
 Visual (VisualType type)
 
template<class T >
T * get ()
 

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
 

Additional Inherited Members

- Public Types inherited from Stark::Visual
enum  VisualType {
  kImageXMG = 2, kRendered = 3, kImageText = 4, kSmackerStream = 5,
  kActor = 6, kSmackerFMV = 7, kEffectFish = 8, kEffectBubbles = 9,
  kEffectFirefly = 10, kExplodingImage = 100, kFlashingImage = 101
}
 

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