5#ifndef JPP_I_ANIMATED_MESH_HPP_INCLUDED
6#define JPP_I_ANIMATED_MESH_HPP_INCLUDED
8#include <jimcpp/core/engine/aabbox3d.hpp>
9#include <jimcpp/core/engine/IMesh.hpp>
Interface for an animated mesh.
Definition IAnimatedMesh.hpp:21
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 u32 getFrameCount() const =0
Gets the frame count 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(s32 frame, s32 detailLevel=255, s32 startFrameLoop=-1, s32 endFrameLoop=-1)=0
Returns the IMesh interface for a frame.
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 Jimcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
signed int s32
32 bit signed variable.
Definition irrTypes.hpp:72
unsigned int u32
32 bit unsigned variable.
Definition irrTypes.hpp:64
float f32
32 bit floating point variable.
Definition irrTypes.hpp:110