AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Simulate.RobotAnimation类 参考

RobotAnimation 更多...

类 AnyCAD.Simulate.RobotAnimation 继承关系图:
AnyCAD.Simulate.Animation

Public 成员函数

 RobotAnimation (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
 RobotAnimation (RobotArm arm)
 
string GetName ()
 
void SetName (string val)
 
RobotArm GetArm ()
 
void SetArm (RobotArm val)
 
void AddClip (RobotAnimationClip clip)
 Add the animation clip.
 
bool RemoveClip (RobotAnimationClip clip)
 Remove the clip.
 
uint GetClipCountOfJoint (uint jointIdx)
 
RobotAnimationClip GetClip (uint jointIdx, uint clipIdx)
 
override bool Play (float time)
 Play the animation.
 
override void Reset ()
 Reset to initial state.
 
- Public 成员函数 继承自 AnyCAD.Simulate.Animation
 Animation (global::System.IntPtr cPtr, bool cMemoryOwn)
 仅供内部使用
 
void Dispose ()
 
bool GetEnabled ()
 
void SetEnabled (bool val)
 
bool GetPaused ()
 
void SetPaused (bool val)
 
bool GetLoop ()
 
void SetLoop (bool val)
 
float GetDuration ()
 

详细描述

RobotAnimation

Group: Simulate

成员函数说明

◆ AddClip()

void AnyCAD.Simulate.RobotAnimation.AddClip ( RobotAnimationClip clip)

Add the animation clip.

参数
clipthe clip.

◆ Play()

override bool AnyCAD.Simulate.RobotAnimation.Play ( float time)
virtual

Play the animation.

参数
timethe timer.
返回
false if finished.

重载 AnyCAD.Simulate.Animation .

◆ RemoveClip()

bool AnyCAD.Simulate.RobotAnimation.RemoveClip ( RobotAnimationClip clip)

Remove the clip.

参数
clipthe clip to be removed.
返回
true if it exists.

◆ Reset()

override void AnyCAD.Simulate.RobotAnimation.Reset ( )
virtual

Reset to initial state.

重载 AnyCAD.Simulate.Animation .