ScummVM API documentation
Wintermute::XMesh Class Referenceabstract
Inheritance diagram for Wintermute::XMesh:
Wintermute::BaseNamedObject Wintermute::BaseClass

Public Member Functions

 XMesh (BaseGame *inGame)
 
virtual bool loadFromXData (const Common::String &filename, XFileData *xobj, Common::Array< MaterialReference > &materialReferences)
 
bool findBones (FrameNode *rootFrame)
 
virtual bool update (FrameNode *parentFrame)
 
virtual bool render (XModel *model)=0
 
virtual bool renderFlatShadowModel ()=0
 
bool updateShadowVol (ShadowVolume *shadow, Math::Matrix4 &modelMat, const Math::Vector3d &light, float extrusionDepth)
 
bool pickPoly (Math::Vector3d *pickRayOrig, Math::Vector3d *pickRayDir)
 
bool setMaterialSprite (const Common::String &matName, BaseSprite *sprite)
 
bool setMaterialTheora (const Common::String &matName, VideoTheoraPlayer *theora)
 
bool invalidateDeviceObjects ()
 
bool restoreDeviceObjects ()
 
- Public Member Functions inherited from Wintermute::BaseNamedObject
 BaseNamedObject (BaseGame *inGame)
 
 BaseNamedObject (TDynamicConstructor, TDynamicConstructor)
 
const char * getName () const
 
void setName (const char *name)
 
- Public Member Functions inherited from Wintermute::BaseClass
bool setEditorProp (const Common::String &propName, const Common::String &propValue)
 
Common::String getEditorProp (const Common::String &propName, const Common::String &initVal=Common::String())
 
 BaseClass (TDynamicConstructor, TDynamicConstructor)
 
bool parseEditorProperty (char *buffer, bool complete=true)
 
virtual bool saveAsText (BaseDynamicBuffer *buffer, int indent=0)
 
 BaseClass (BaseGame *GameOwner)
 
virtual const char * getClassName ()
 
virtual bool persist (BasePersistenceManager *persistMgr)
 

Public Attributes

Math::Vector3d _BBoxStart
 
Math::Vector3d _BBoxEnd
 
- Public Attributes inherited from Wintermute::BaseNamedObject
char * _name
 
- Public Attributes inherited from Wintermute::BaseClass
bool _persistable
 
BaseGame_gameRef
 

Protected Member Functions

void updateBoundingBox ()
 

Protected Attributes

uint32 _numAttrs
 
bool _skinnedMesh
 
SkinMeshHelper_skinMesh
 
BaseArray< Math::Matrix4 * > _boneMatrices
 
Common::Array< uint32 > _adjacency
 
BaseArray< Material * > _materials
 
- Protected Attributes inherited from Wintermute::BaseClass
Common::HashMap< Common::String, Common::String_editorProps
 
Common::HashMap< Common::String, Common::String >::iterator _editorPropsIter
 

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