Nirtcpp 2.1.0
Nirtcpp is a high-performance c++ graphics engine.
Loading...
Searching...
No Matches
nirt::scene::IAnimationEndCallBack Class Referenceabstract

Callback interface for catching events of ended animations. More...

#include <nirtcpp/core/engine/IAnimatedMeshSceneNode.hpp>

Inheritance diagram for nirt::scene::IAnimationEndCallBack:
Inheritance graph
Collaboration diagram for nirt::scene::IAnimationEndCallBack:
Collaboration graph

Public Member Functions

virtual void OnAnimationEnd (IAnimatedMeshSceneNode *node)=0
 Will be called when the animation playback has ended.
 
- Public Member Functions inherited from nirt::IReferenceCounted
 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.
 
s32 getReferenceCount () const
 Get the reference count.
 
const c8getDebugName () const
 Returns the debug name of the object.
 

Additional Inherited Members

- Protected Member Functions inherited from nirt::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object.
 

Detailed Description

Callback interface for catching events of ended animations.

Implement this interface and use IAnimatedMeshSceneNode::setAnimationEndCallback to be able to be notified if an animation playback has ended.

Member Function Documentation

◆ OnAnimationEnd()

virtual void nirt::scene::IAnimationEndCallBack::OnAnimationEnd ( IAnimatedMeshSceneNode node)
pure virtual

Will be called when the animation playback has ended.

See IAnimatedMeshSceneNode::setAnimationEndCallback for more information.

Parameters
nodeNode of which the animation has ended.

The documentation for this class was generated from the following file:

Nirtcpp    @cppfx.xyz

Utxcpp    utx::print