动画操作器 更多...
#include <APIAnimator.h>
Public 成员函数 | |
void | SetName (const String &name) |
String | GetName () const |
void | SetEnabled (bool bEnabled) |
bool | IsEnabled () const |
virtual void | EnableLoop (bool bLoop) |
virtual bool | IsLoopEnabled () const |
virtual bool | IsPaused () const |
virtual bool | ActiveAnimation (const String &animation) |
virtual bool | ActiveAnimationByIndex (int nChannel) |
virtual void | SetFrameSpan (int start, int end) |
String | GetNextActionScriptName () const |
void | SetNextActionScriptName (const String &val) |
virtual AABox | GetNodeBBox (const String &name) const |
动画操作器
用于驱动动画每一帧的执行。
|
virtual |
|
virtual |
Active the animation by index
|
virtual |
String AnyCAD::API::Animator::GetName | ( | ) | const |
Get Name
String AnyCAD::API::Animator::GetNextActionScriptName | ( | ) | const |
Get the next action script name
Get the bounding box of the child node
name | the node name. |
bool AnyCAD::API::Animator::IsEnabled | ( | ) | const |
Get enable status
|
virtual |
|
virtual |
Get running status
void AnyCAD::API::Animator::SetEnabled | ( | bool | bEnabled | ) |
Enable the animator
bEnabled | true or false |
|
virtual |
Set the tick range
start | the start position. |
end | the end position |
void AnyCAD::API::Animator::SetName | ( | const String & | name | ) |
Set Name
name | the name |
void AnyCAD::API::Animator::SetNextActionScriptName | ( | const String & | val | ) |
Set the next action when the animation is finished.
val | the next action script name. |