OpenMW
Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
OEngine::Physic::BulletShape Class Reference

#include <BulletShapeLoader.h>

List of all members.

Public Member Functions

 BulletShape (Ogre::ResourceManager *creator, const Ogre::String &name, Ogre::ResourceHandle handle, const Ogre::String &group, bool isManual=false, Ogre::ManualResourceLoader *loader=0)
virtual ~BulletShape ()

Public Attributes

btCollisionShape * mCollisionShape
btCollisionShape * mRaycastingShape
bool mHasCollisionNode
Ogre::Vector3 mBoxTranslation
Ogre::Quaternion mBoxRotation
bool mCollide

Protected Member Functions

void loadImpl ()
void unloadImpl ()
size_t calculateSize () const
void deleteShape (btCollisionShape *shape)

Private Attributes

Ogre::String mString

Detailed Description

Define a new resource which describe a Shape usable by bullet.See BulletShapeManager for how to get/use them.


Constructor & Destructor Documentation

OEngine::Physic::BulletShape::BulletShape ( Ogre::ResourceManager *  creator,
const Ogre::String &  name,
Ogre::ResourceHandle  handle,
const Ogre::String &  group,
bool  isManual = false,
Ogre::ManualResourceLoader *  loader = 0 
)

Member Function Documentation

size_t OEngine::Physic::BulletShape::calculateSize ( ) const [protected]
void OEngine::Physic::BulletShape::deleteShape ( btCollisionShape *  shape) [protected]

Member Data Documentation

Ogre::String OEngine::Physic::BulletShape::mString [private]

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