The XSimpleSpriteAnimator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XSimpleSpriteAnimator |
Creates a new instance of the class XSimpleSpriteAnimator.
|
Methods
| Name | Description | |
|---|---|---|
| Animate | Overloaded. | |
| Attach |
Attaches animator to the sprite.
(Inherited from XSpriteAnimator.) | |
| CollideWith | Overloaded. | |
| Detach |
Detaches the animator for the sprite.
(Inherited from XSpriteAnimator.) | |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. | |
| GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. | |
| GetType | Gets the Type of the current instance. | |
| Join |
Waits until the animation finishes.
(Inherited from XSpriteAnimator.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. | |
| OnAnimate |
Carries out the very animation using the given animation time with the ability of backward playback.
(Inherited from XPathAnimator.) | |
| Rewind | Overloaded. | |
| SetEndPosition | Overloaded. | |
| SetLinePath |
Ensures that the animation will be carried out along the abscissa from StartPosition to EndPosition. The method is called by default when the start or the end position is set.
| |
| SetPosition | Overloaded. | |
| SetSpriteStartState |
Sets the sprite to the beginning of the animation.
(Inherited from XSpriteAnimator.) | |
| SetStartPosition | Overloaded. | |
| SpriteAnimateHandler |
Carries out the sprite animation and reacts to the Animate event.
(Inherited from XSpriteAnimator.) | |
| Start | Overloaded. | |
| Stop |
Stops the animation.
(Inherited from XSpriteAnimator.) | |
| StopRunning |
Stops running animation.
(Inherited from XSpriteAnimator.) | |
| ToString | (Inherited from Object.) | |
| UpdateAnimationInfo |
Updates animation information.
(Inherited from XSpriteAnimator.) |
Properties
| Name | Description | |
|---|---|---|
| CurrentFrame |
Gets or sets the current frame of the sprite animation.
| |
| Duration |
Gets or sets the animation duration.
(Inherited from XSpriteAnimator.) | |
| EndColorFilter |
Gets or sets the animation end color filter. Using a color filter various sprite coloring effects can be achieved.
| |
| EndFrame |
Gets or sets the animation end frame.
| |
| EndPosition |
Gets or sets the animation end coordinates.
| |
| EndTime |
Gets or sets the animation end time.
(Inherited from XSpriteAnimator.) | |
| IsFollowing |
Gets or sets the attribute whether the sprite should rotate according to the path direction.
(Inherited from XPathAnimator.) | |
| IsRunning |
Denotes whether the animation is running.
(Inherited from XSpriteAnimator.) | |
| Loop |
Gets or sets the animation loop mode.
(Inherited from XSpriteAnimator.) | |
| LoopCount |
Gets or sets the animation repetition count.
(Inherited from XSpriteAnimator.) | |
| LoopDuration |
Gets or sets the animation loop period duration.
(Inherited from XSpriteAnimator.) | |
| Path |
Gets or sets the IXPath path along which the animation will be moving.
(Inherited from XPathAnimator.) | |
| PhaseLoop |
Gets or sets the animation repetition mode during the one phase.
(Inherited from XSpriteAnimator.) | |
| PhaseLoopCount |
Gets or sets the animation repetition count during the one phase.
(Inherited from XSpriteAnimator.) | |
| Sprite |
Gets or sets a sprite being animated.
(Inherited from XSpriteAnimator.) | |
| StartColorFilter |
Gets or sets the animation start color filter. Using a color filter various sprite coloring effects can be achieved.
| |
| StartFrame |
Gets or sets the animation start frame.
| |
| StartPosition |
Gets or sets the animation start coordinates.
| |
| StartTime |
Gets or sets the animation start time.
(Inherited from XSpriteAnimator.) | |
| SyncRoot | (Inherited from XSpriteAnimator.) | |
| TimeMap |
Gets or sets the animation timing function.
(Inherited from XSpriteAnimator.) |