|
virtual u32 | getJointCount () const =0 |
| Gets joint count.
|
|
virtual const c8 * | getJointName (u32 number) const =0 |
| Gets the name of a joint.
|
|
virtual s32 | getJointNumber (const c8 *name) const =0 |
| Gets a joint number from its name.
|
|
virtual bool | useAnimationFrom (const ISkinnedMesh *mesh)=0 |
| Use animation from another mesh.
|
|
virtual void | updateNormalsWhenAnimating (bool on)=0 |
| Update Normals when Animating.
|
|
virtual void | setInterpolationMode (E_INTERPOLATION_MODE mode)=0 |
| Sets Interpolation Mode.
|
|
virtual void | animateMesh (f32 frame, f32 blend)=0 |
| Animates this mesh's joints based on frame input.
|
|
virtual void | skinMesh ()=0 |
| Preforms a software skin on this mesh based of joint positions.
|
|
virtual void | convertMeshToTangents ()=0 |
| converts the vertex type of all meshbuffers to tangents.
|
|
virtual bool | setHardwareSkinning (bool on)=0 |
| Allows to enable hardware skinning.
|
|
virtual core::array< SSkinMeshBuffer * > & | getMeshBuffers ()=0 |
| exposed for loaders: to add mesh buffers
|
|
virtual core::array< SJoint * > & | getAllJoints ()=0 |
| exposed for loaders: joints list
|
|
virtual const core::array< SJoint * > & | getAllJoints () const =0 |
| exposed for loaders: joints list
|
|
virtual void | finalize ()=0 |
| loaders should call this after populating the mesh
|
|
virtual SSkinMeshBuffer * | addMeshBuffer ()=0 |
| Adds a new meshbuffer to the mesh, access it as last one.
|
|
virtual SJoint * | addJoint (SJoint *parent=0)=0 |
| Adds a new joint to the mesh, access it as last one.
|
|
virtual SWeight * | addWeight (SJoint *joint)=0 |
| Adds a new weight to the mesh, access it as last one.
|
|
virtual SPositionKey * | addPositionKey (SJoint *joint)=0 |
| Adds a new position key to the mesh, access it as last one.
|
|
virtual SScaleKey * | addScaleKey (SJoint *joint)=0 |
| Adds a new scale key to the mesh, access it as last one.
|
|
virtual SRotationKey * | addRotationKey (SJoint *joint)=0 |
| Adds a new rotation key to the mesh, access it as last one.
|
|
virtual bool | isStatic ()=0 |
| Check if the mesh is non-animated.
|
|
virtual u32 | getFrameCount () const =0 |
| Gets the frame count of the animated mesh.
|
|
virtual f32 | getAnimationSpeed () const =0 |
| Gets the animation speed of the animated mesh.
|
|
virtual void | setAnimationSpeed (f32 fps)=0 |
| Sets the animation speed of the animated mesh.
|
|
virtual IMesh * | getMesh (s32 frame, s32 detailLevel=255, s32 startFrameLoop=-1, s32 endFrameLoop=-1)=0 |
| Returns the IMesh interface for a frame.
|
|
virtual E_ANIMATED_MESH_TYPE | getMeshType () const override |
| Returns the type of the animated mesh.
|
|
virtual u32 | getMeshBufferCount () const =0 |
| Get the amount of mesh buffers.
|
|
virtual IMeshBuffer * | getMeshBuffer (u32 nr) const =0 |
| Get pointer to a mesh buffer.
|
|
virtual IMeshBuffer * | getMeshBuffer (const video::SMaterial &material) const =0 |
| Get pointer to a mesh buffer which fits a material.
|
|
virtual const core::aabbox3d< f32 > & | getBoundingBox () const =0 |
| Get an axis aligned bounding box of the mesh.
|
|
virtual void | setBoundingBox (const core::aabbox3df &box)=0 |
| Set user-defined axis aligned bounding box.
|
|
virtual void | setMaterialFlag (video::E_MATERIAL_FLAG flag, bool newvalue)=0 |
| Sets a flag of all contained materials to a new value.
|
|
virtual void | setHardwareMappingHint (E_HARDWARE_MAPPING newMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0 |
| Set the hardware mapping hint.
|
|
virtual void | setDirty (E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0 |
| Flag the meshbuffer as changed, reloads hardware buffers.
|
|
| IReferenceCounted () |
| Constructor.
|
|
virtual | ~IReferenceCounted () |
| Destructor.
|
|
void | grab () const |
| Grabs the object. Increments the reference counter by one.
|
|
bool | drop () const |
| Drops the object. Decrements the reference counter by one.
|
|
s32 | getReferenceCount () const |
| Get the reference count.
|
|
const c8 * | getDebugName () const |
| Returns the debug name of the object.
|
|
Interface for using some special functions of Skinned meshes.