AnyCAD SDK PRO
2020
The Professional Graphics SDK for .Net and C++ Developers
|
动画操作器 更多...
Public 成员函数 | |
void | SetName (String^ name) |
String^ | GetName () |
void | SetEnabled (bool bEnabled) |
bool | IsEnabled () |
void | EnableLoop (bool bLoop) |
bool | IsLoopEnabled () |
bool | IsPaused () |
bool | ActiveAnimation (String^ animation) |
bool | ActiveAnimationByIndex (int nChannel) |
void | SetFrameSpan (int start, int end) |
String^ | GetNextActionScriptName () |
void | SetNextActionScriptName (String^ val) |
AABox^ | GetNodeBBox (String^ name) |
动画操作器
用于驱动动画每一帧的执行。
bool AnyCAD::Platform::Animator::ActiveAnimation | ( | String^ | animation | ) |
Active the animation
bool AnyCAD::Platform::Animator::ActiveAnimationByIndex | ( | int | nChannel | ) |
Active the animation by index
void AnyCAD::Platform::Animator::EnableLoop | ( | bool | bLoop | ) |
Enable the animator to loop running
bLoop | true or false |
String ^ AnyCAD::Platform::Animator::GetName | ( | ) |
Get Name
String ^ AnyCAD::Platform::Animator::GetNextActionScriptName | ( | ) |
Get the next action script name
AABox ^ AnyCAD::Platform::Animator::GetNodeBBox | ( | String^ | name | ) |
Get the bounding box of the child node
name | the node name. |
bool AnyCAD::Platform::Animator::IsEnabled | ( | ) |
Get enable status
bool AnyCAD::Platform::Animator::IsLoopEnabled | ( | ) |
Get loop status
bool AnyCAD::Platform::Animator::IsPaused | ( | ) |
Get running status
void AnyCAD::Platform::Animator::SetEnabled | ( | bool | bEnabled | ) |
Enable the animator
bEnabled | true or false |
void AnyCAD::Platform::Animator::SetFrameSpan | ( | int | start, |
int | end | ||
) |
Set the tick range
start | the start position. |
end | the end position |
void AnyCAD::Platform::Animator::SetName | ( | String^ | name | ) |
Set Name
name | the name |
void AnyCAD::Platform::Animator::SetNextActionScriptName | ( | String^ | val | ) |
Set the next action when the animation is finished.
val | the next action script name. |