ScummVM API documentation
Stark::VisualProp Class Referenceabstract
Inheritance diagram for Stark::VisualProp:
Stark::Visual Stark::Gfx::TinyGLPropRenderer

Public Member Functions

void setModel (Formats::BiffMesh *model)
 
void setTexture (Gfx::TextureSet *texture)
 
bool intersectRay (const Math::Ray &ray, const Math::Vector3d &position, float direction)
 
virtual void render (const Math::Vector3d &position, float direction, const Gfx::LightEntryArray &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::kRendered
 

Protected Member Functions

Math::Matrix4 getModelMatrix (const Math::Vector3d &position, float direction)
 

Protected Attributes

Formats::BiffMesh_model
 
Gfx::TextureSet_texture
 
Math::AABB _boundingBox
 

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: