Class ScaleTo3DWorkAction
Work action that scales a 3D entity.
Implements
Inherited Members
Namespace: Evergine.Components.WorkActions
Assembly: Evergine.Components.dll
Syntax
public class ScaleTo3DWorkAction : Vector3AnimationWorkAction, IWorkAction
Constructors
ScaleTo3DWorkAction(Entity, Vector3, TimeSpan, EaseFunction, bool)
Initializes a new instance of the ScaleTo3DWorkAction class.
Declaration
public ScaleTo3DWorkAction(Entity entity, Vector3 to, TimeSpan time, EaseFunction ease = EaseFunction.None, bool local = false)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | The target entity. |
| Vector3 | to | The target scale. |
| TimeSpan | time | Animation duration. |
| EaseFunction | ease | The ease function. |
| bool | local | Whether the scale is in local coordinates. |
Methods
PerformRun()
Performs the run operation.
Declaration
protected override void PerformRun()