|
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
44 void setMaterialName(
const string& name,
const string& groupName =
"OgreAutodetect" );
130 void setMeshLodBias(
float factor, uint16 maxDetailIndex = 0, uint16 minDetailIndex = 99);
161 void setMaterialLodBias(
float factor, uint16 maxDetailIndex = 0, uint16 minDetailIndex = 99);
A manager for skeletal animation tracks in the entity.
Defines an instance of a discrete, movable object based on a Mesh.
AnimationStateSet getAllAnimationStates(void)
For entities based on animated meshes, gets the AnimationState objects for all animations.
Represents a single named skeletal animation track present in the mesh.
bool getDisplaySkeleton(void) const
Returns whether or not the entity is currently displaying its skeleton.
~Entity()
Default destructor.
void setDisplaySkeleton(bool display)
Tells the Entity whether or not it should display it's skeleton, if it has one.
void setMeshLodBias(float factor, uint16 maxDetailIndex=0, uint16 minDetailIndex=99)
Sets a level-of-detail bias for the mesh detail of this entity.
OGRE-AngelScript bindings; Actually named Ogre in the scripts, just changed for docs to separate thin...
uint64 getNumManualLodLevels(void) const
Returns the number of manual levels of detail that this entity supports.
bool hasSkeleton(void) const
Returns whether or not this entity is skeletally animated.
const string & getMovableType(void) const
Abstract class defining a movable object in a scene.
void setMaterialName(const string &name, const string &groupName="OgreAutodetect")
Gets the Mesh that this Entity is based on.
AnimationState getAnimationState(const string &name)
For entities based on animated meshes, gets the AnimationState object for a single animation.
Entity * getManualLodLevel(uint64 index) const
Gets a pointer to the entity representing the numbered manual level of detail.
void setMaterialLodBias(float factor, uint16 maxDetailIndex=0, uint16 minDetailIndex=99)
Sets a level-of-detail bias for the material detail of this entity.
uint16 getCurrentLodIndex()
Returns the current LOD used to render.