PixelLightAPI
.
|
#include <AnimationEvent.h>
Public Member Functions | |
PLRENDERER_API | AnimationEvent (int nID, PLCore::uint32 nFrame, AnimationEventManager *pManager=nullptr, const PLCore::String &sName="") |
Constructor. | |
int | GetID () const |
Returns the event ID. | |
void | SetID (int nID) |
Sets the event ID. | |
PLCore::uint32 | GetFrame () const |
Returns the frame which will cause this event. | |
void | SetFrame (PLCore::uint32 nFrame) |
Sets the frame causing this event. | |
virtual PLRENDERER_API AnimationEvent & | operator= (const AnimationEvent &cSource) |
Animation event.
PLRENDERER_API PLRenderer::AnimationEvent::AnimationEvent | ( | int | nID, |
PLCore::uint32 | nFrame, | ||
AnimationEventManager * | pManager = nullptr , |
||
const PLCore::String & | sName = "" |
||
) |
Constructor.
[in] | nID | Event ID |
[in] | nFrame | Frame causing this event |
[in] | pManager | Event manager using this element, can be a null pointer |
[in] | sName | Name of the event, if empty, a default name is set automatically |
int PLRenderer::AnimationEvent::GetID | ( | ) | const [inline] |
void PLRenderer::AnimationEvent::SetID | ( | int | nID | ) | [inline] |
Sets the event ID.
[in] | nID | Event ID |
PLCore::uint32 PLRenderer::AnimationEvent::GetFrame | ( | ) | const [inline] |
Returns the frame which will cause this event.
void PLRenderer::AnimationEvent::SetFrame | ( | PLCore::uint32 | nFrame | ) | [inline] |
Sets the frame causing this event.
[in] | nFrame | Frame causing this event |
virtual PLRENDERER_API AnimationEvent& PLRenderer::AnimationEvent::operator= | ( | const AnimationEvent & | cSource | ) | [virtual] |
|