Replays animation with the given number.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public void PlayAnimation( int anim, double fromPos, double duration, double speed, XAnimationMeshSprite..::.AnimationHandler handler, XAnimationMeshSprite..::.AnimationHandlerInfo info ) |
Parameters
- anim
- Type: System..::.Int32
Animation number 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
IThe XAnimationMeshSprite..::.AnimationHandlerInfo instance containing animation state.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | info is nullNothingnullptra null reference (Nothing in Visual Basic) and handler is not nullNothingnullptra null reference (Nothing in Visual Basic). |