AnyCAD SDK PRO  2020
The Professional Graphics SDK for .Net and C++ Developers
Public 成员函数 | 所有成员列表
AnyCAD::Platform::Animator类 参考

动画操作器 更多...

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)
 
AABoxGetNodeBBox (String^ name)
 

详细描述

动画操作器

用于驱动动画每一帧的执行。

成员函数说明

bool AnyCAD::Platform::Animator::ActiveAnimation ( String^  animation)

Active the animation

返回
true if successfully.
bool AnyCAD::Platform::Animator::ActiveAnimationByIndex ( int  nChannel)

Active the animation by index

返回
true if successfully.
void AnyCAD::Platform::Animator::EnableLoop ( bool  bLoop)

Enable the animator to loop running

参数
bLooptrue or false
String ^ AnyCAD::Platform::Animator::GetName ( )

Get Name

返回
the name
String ^ AnyCAD::Platform::Animator::GetNextActionScriptName ( )

Get the next action script name

返回
the script name.
AABox ^ AnyCAD::Platform::Animator::GetNodeBBox ( String^  name)

Get the bounding box of the child node

参数
namethe node name.
返回
the bounding box.
bool AnyCAD::Platform::Animator::IsEnabled ( )

Get enable status

返回
true if enabled.
bool AnyCAD::Platform::Animator::IsLoopEnabled ( )

Get loop status

返回
true if enabled.
bool AnyCAD::Platform::Animator::IsPaused ( )

Get running status

返回
true if paused.
void AnyCAD::Platform::Animator::SetEnabled ( bool  bEnabled)

Enable the animator

参数
bEnabledtrue or false
void AnyCAD::Platform::Animator::SetFrameSpan ( int  start,
int  end 
)

Set the tick range

参数
startthe start position.
endthe end position
void AnyCAD::Platform::Animator::SetName ( String^  name)

Set Name

参数
namethe name
void AnyCAD::Platform::Animator::SetNextActionScriptName ( String^  val)

Set the next action when the animation is finished.

参数
valthe next action script name.

该类的文档由以下文件生成: