5#ifndef DCPP_I_ANIMATED_MESH_HPP_INCLUDED
6#define DCPP_I_ANIMATED_MESH_HPP_INCLUDED
8#include <duckcpp/core/engine/aabbox3d.hpp>
9#include <duckcpp/core/engine/IMesh.hpp>
Interface for an animated mesh.
Definition IAnimatedMesh.hpp:21
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 E_ANIMATED_MESH_TYPE getMeshType() const override
Returns the type of the animated mesh.
Definition IAnimatedMesh.hpp:64
virtual IMesh * getMesh(i32 frame, i32 detailLevel=255, i32 startFrameLoop=-1, i32 endFrameLoop=-1)=0
Returns the IMesh interface for a frame.
virtual void setAnimationSpeed(f32 fps)=0
Sets the animation speed of the animated mesh.
Class which holds the geometry of an object.
Definition IMesh.hpp:72
E_ANIMATED_MESH_TYPE
Possible types of meshes.
Definition IMesh.hpp:20
@ EAMT_UNKNOWN
Unknown animated mesh type.
Definition IMesh.hpp:22
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int i32
32 bit signed variable.
Definition irrTypes.hpp:72
float f32
32 bit floating point variable.
Definition irrTypes.hpp:110
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64