ScummVM API documentation
TwinE::BodyData Class Reference
Inheritance diagram for TwinE::BodyData:
TwinE::Parser

Public Member Functions

bool isAnimated () const
 
uint getNumBones () const
 
uint getNumVertices () const
 
BoneFramegetBoneState (int16 boneIdx)
 
const BoneFramegetBoneState (int16 boneIdx) const
 
const Common::Array< BodyPolygon > & getPolygons () const
 
const Common::Array< BodyVertex > & getVertices () const
 
const Common::Array< BodySphere > & getSpheres () const
 
const Common::Array< BodyNormal > & getNormals () const
 
const BodyNormalgetNormal (int16 normalIdx) const
 
const Common::Array< BodyLine > & getLines () const
 
const Common::Array< BodyBone > & getBones () const
 
const BodyBonegetBone (int16 boneIdx) const
 
bool loadFromStream (Common::SeekableReadStream &stream, bool lba1) override
 
- Public Member Functions inherited from TwinE::Parser
bool loadFromBuffer (const uint8 *buf, uint32 size, bool lba1)
 
bool loadFromHQR (const char *name, int index, bool lba1)
 
int hqrIndex () const
 
bool loadFromHQR (const TwineResource &resource, bool lba1)
 

Public Attributes

bool animated = false
 
BoundingBox bbox
 
int16 offsetToData = 0
 

Protected Member Functions

void reset () override
 

Additional Inherited Members

- Protected Attributes inherited from TwinE::Parser
int _hqrIndex = -1
 

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