Replays animation with the given name.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void PlayAnimation( string name, double fromPos, double duration, double speed, XAnimationMeshSprite..::.AnimationHandler handler, XAnimationMeshSprite..::.AnimationHandlerInfo info ) |
Parameters
- name
- Type: System..::.String
Animation name to replay.
- fromPos
- Type: System..::.Double
Animation start position.
- duration
- Type: System..::.Double
Animation duration.
- speed
- Type: System..::.Double
Animation speed.
- handler
- Type: SGP.XSpace..::.XAnimationMeshSprite..::.AnimationHandler
Delegat for animation run-time notification.
- info
- Type: SGP.XSpace..::.XAnimationMeshSprite..::.AnimationHandlerInfo
The XAnimationMeshSprite..::.AnimationHandlerInfo instance containing animation state.