| MotionAnimator Class |
Namespace: GeonBit.ECS.Components.Particles.Animators
public class MotionAnimator : BaseAnimator
The MotionAnimator type exposes the following members.
| Name | Description | |
|---|---|---|
| MotionAnimator |
Create the motion animator.
|
| Name | Description | |
|---|---|---|
| _GameObject |
Get the game object this component is attached to.
(Inherited from BaseComponent.) | |
| Acceleration |
A constant force that affect velocity over time.
| |
| BaseProperties |
Animator basic properties.
(Inherited from BaseAnimator.) | |
| Enabled |
Is this component currently enabled.
(Inherited from BaseComponent.) | |
| MaxVelocity |
Optional max velocity (only applies if there's acceleration).
| |
| Name |
Get / set the name of this component.
(Inherited from IComponent.) | |
| TimeAlive |
For how long, in seconds, this animator was alive (including initial delay time).
(Inherited from BaseAnimator.) | |
| TimeAnimated |
Return how long, in seconds, the animation actually works.
This is just TimeAlive - DelayToStart.
(Inherited from BaseAnimator.) | |
| Velocity |
Movement vector (represent direction and speed).
|
| Name | Description | |
|---|---|---|
| Clone |
Clone this component.
(Overrides BaseComponentClone.) | |
| CollisionEnd |
Called when this physical body stop colliding with another body.
(Inherited from BaseComponent.) | |
| CollisionProcess |
Called while this physical body is colliding with another body.
(Inherited from BaseComponent.) | |
| CollisionStart |
Called when this physical body start colliding with another body.
(Inherited from BaseComponent.) | |
| Destroy |
Destroy this component.
(Inherited from BaseComponent.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| FixedUpdate |
Just like Update(), but called every constant amount of time regardless of FPS and Vsync.
(Inherited from BaseComponent.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetImplementedFrameBasedEvents |
Get a list of frame-based events this component implements.
(Inherited from BaseComponent.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| HasMethodImplemented |
Return if this component has a method implemented.
(Inherited from BaseComponent.) | |
| Heartbeat |
An event that triggers every X miliseconds (defined per GameObject instance).
(Inherited from BaseComponent.) | |
| RemoveFromParent |
Remove this component from parent.
(Inherited from BaseComponent.) | |
| ResetTime |
Reset current animator time.
(Inherited from BaseAnimator.) | |
| SendMessage |
Send message to this component.
(Inherited from BaseComponent.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Update |
Update this component (called every frame parent is active).
(Inherited from BaseComponent.) |
| Name | Description | |
|---|---|---|
| AsDebug |
If true, it means this component was added to its parent in debug mode.
(Inherited from BaseComponent.) |