Adds already created animation to the animation collection.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public XSimpleSpriteAnimator AddAnimation( XSimpleSpriteAnimator animation ) |
Parameters
- animation
- Type: SGP.XSpace..::.XSimpleSpriteAnimator
Already created XSimpleSpriteAnimator animation.
Return Value
Returns the XSimpleSpriteAnimator animation.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | animation is nullNothingnullptra null reference (Nothing in Visual Basic). |