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 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 E_ANIMATED_MESH_TYPE getMeshType() const override
Returns the type of the animated mesh.
Definition IAnimatedMesh.hpp:64
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 dcpp::uint32_kt getFrameCount() const =0
Gets the frame count 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 shared_device.hpp:34
unsigned int uint32_kt
32 bit unsigned variable.
Definition irrTypes.hpp:64
float float32_kt
32 bit floating point variable.
Definition irrTypes.hpp:108
signed int int32_kt
32 bit signed variable.
Definition irrTypes.hpp:72