Click or drag to resize
FloatUpDownAnimator Class
An animator that makes an entity float up and down. Note: this animator override the SpaceBefore and SpaceAfter properties.
Inheritance Hierarchy
SystemObject
  GeonBit.UI.AnimatorsIAnimator
    GeonBit.UI.AnimatorsFloatUpDownAnimator

Namespace:  GeonBit.UI.Animators
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class FloatUpDownAnimator : IAnimator

The FloatUpDownAnimator type exposes the following members.

Constructors
  NameDescription
Public methodFloatUpDownAnimator
Initializes a new instance of the FloatUpDownAnimator class
Top
Properties
  NameDescription
Public propertyDuration
If set, represent number of seconds for this animator to run. When reach 0, will stop animation (and begin slowing down gradually until reaching 0).
Public propertyIsDone
Did this animator finish?
(Overrides IAnimatorIsDone.)
Public propertyShouldRemoveWhenDone
Should remove this animator when done?
(Inherited from IAnimator.)
Public propertyTargetEntity
Target entity this animator operates on.
(Inherited from IAnimator.)
Top
Methods
  NameDescription
Public methodCheckEntityCompatibility
Return if an entity type is compatible with this animator.
(Inherited from IAnimator.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReset
Reset animation.
(Overrides IAnimatorReset.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Do animation.
(Overrides IAnimatorUpdate.)
Top
Fields
  NameDescription
Public fieldEnabled
Is this animator currently running?
(Inherited from IAnimator.)
Public fieldFloatingDistance
How much the entity moves up and down.
Public fieldSpeedFactor
Floating animation speed.
Top
See Also