![]() |
Duckcpp 2.1.0
Duckcpp is a high-performance c++ graphics engine.
|
Interface for using some special functions of MD3 meshes. More...
#include <duckcpp/core/engine/IAnimatedMeshMD3.hpp>
Public Member Functions | |
virtual void | setInterpolationShift (u32 shift, u32 loopMode)=0 |
tune how many frames you want to render in between. | |
virtual SMD3QuaternionTagList * | getTagList (i32 frame, i32 detailLevel, i32 startFrameLoop, i32 endFrameLoop)=0 |
get the tag list of the mesh. | |
virtual SMD3Mesh * | getOriginalMesh ()=0 |
get the original md3 mesh. | |
![]() | |
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 (i32 frame, i32 detailLevel=255, i32 startFrameLoop=-1, i32 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 nub::aabbox3d< f32 > & | getBoundingBox () const =0 |
Get an axis aligned bounding box of the mesh. | |
virtual void | setBoundingBox (const nub::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. | |
i32 | getReferenceCount () const |
Get the reference count. | |
const c8 * | getDebugName () const |
Returns the debug name of the object. | |
Additional Inherited Members | |
![]() | |
void | setDebugName (const c8 *newName) |
Sets the debug name of the object. | |
Interface for using some special functions of MD3 meshes.