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)
 
bool findBones (FrameNode *rootFrame)
 
virtual bool update (FrameNode *parentFrame)
 
virtual bool render (XModel *model)=0
 
virtual bool renderFlatShadowModel ()=0
 
bool updateShadowVol (ShadowVolume *shadow, DXMatrix *modelMat, DXVector3 *light, float extrusionDepth)
 
bool pickPoly (DXVector3 *pickRayOrig, DXVector3 *pickRayDir)
 
bool setMaterialSprite (const Common::String &matName, BaseSprite *sprite)
 
bool setMaterialTheora (const Common::String &matName, VideoTheoraPlayer *theora)
 
bool setMaterialEffect (const Common::String &matName, Effect3D *effect, Effect3DParams *params)
 
bool removeMaterialEffect (const Common::String &matName)
 
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

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

Protected Member Functions

bool generateMesh ()
 

Protected Attributes

SkinMeshHelper_skinMesh
 
DXMesh_blendedMesh
 
DXMesh_staticMesh
 
DXMatrix ** _boneMatrices
 
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: