|
virtual void | getFrameLoop (EMD2_ANIMATION_TYPE l, dcpp::int32_kt &outBegin, dcpp::int32_kt &outEnd, dcpp::int32_kt &outFPS) const =0 |
| Get frame loop data for a default MD2 animation type.
|
|
virtual bool | getFrameLoop (const dcpp::char_kt *name, dcpp::int32_kt &outBegin, dcpp::int32_kt &outEnd, dcpp::int32_kt &outFPS) const =0 |
| Get frame loop data for a special MD2 animation type, identified by name.
|
|
virtual dcpp::int32_kt | getAnimationCount () const =0 |
| Get amount of md2 animations in this file.
|
|
virtual const dcpp::char_kt * | getAnimationName (dcpp::int32_kt nr) const =0 |
| Get name of md2 animation.
|
|
virtual dcpp::uint32_kt | getFrameCount () const =0 |
| Gets the frame count of the animated mesh.
|
|
virtual dcpp::float32_kt | getAnimationSpeed () const =0 |
| Gets the animation speed of the animated mesh.
|
|
virtual void | setAnimationSpeed (dcpp::float32_kt fps)=0 |
| Sets the animation speed of the animated mesh.
|
|
virtual IMesh * | getMesh (dcpp::int32_kt frame, dcpp::int32_kt detailLevel=255, dcpp::int32_kt startFrameLoop=-1, dcpp::int32_kt 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 dcpp::uint32_kt | getMeshBufferCount () const =0 |
| Get the amount of mesh buffers.
|
|
virtual IMeshBuffer * | getMeshBuffer (dcpp::uint32_kt nr) const =0 |
| Get pointer to a mesh buffer.
|
|
virtual IMeshBuffer * | getMeshBuffer (const dcpp::video::SMaterial &material) const =0 |
| Get pointer to a mesh buffer which fits a material.
|
|
virtual const dcpp::nub::aabbox3df & | getBoundingBox () const =0 |
| Get an axis aligned bounding box of the mesh.
|
|
virtual void | setBoundingBox (const dcpp::nub::aabbox3df &box)=0 |
| Set user-defined axis aligned bounding box.
|
|
virtual void | setMaterialFlag (dcpp::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.
|
|
dcpp::int32_kt | getReferenceCount () const |
| Get the reference count.
|
|
const dcpp::char_kt * | getDebugName () const |
| Returns the debug name of the object.
|
|
Interface for using some special functions of MD2 meshes.