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

#include <prop.h>

Inheritance diagram for Stark::VisualProp:
Collaboration diagram for Stark::VisualProp:

List of all members.

Public Member Functions

 VisualProp ()
 ~VisualProp () override
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

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

Detailed Description

Definition at line 43 of file prop.h.


Constructor & Destructor Documentation

Stark::VisualProp::VisualProp (  ) 

Definition at line 31 of file prop.cpp.

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

Definition at line 37 of file prop.cpp.


Member Function Documentation

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

Definition at line 59 of file prop.cpp.

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

Definition at line 74 of file prop.cpp.

virtual void Stark::VisualProp::render ( const Math::Vector3d position,
float  direction,
const Gfx::LightEntryArray lights 
) [pure virtual]
void Stark::VisualProp::setModel ( Formats::BiffMesh model  ) 

Definition at line 42 of file prop.cpp.

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

Definition at line 53 of file prop.cpp.


Member Data Documentation

Definition at line 59 of file prop.h.

Definition at line 57 of file prop.h.

Definition at line 58 of file prop.h.

const VisualType Stark::VisualProp::TYPE = Visual::kRendered [static]

Definition at line 45 of file prop.h.


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


Generated on Sat Mar 16 2019 05:06:57 for ResidualVM by doxygen 1.7.1
curved edge   curved edge