ScaleAnimator Constructor (BaseAnimatorProperties, Vector3, Vector3, Single, Single, Single, Single) |
Create the scale animator.
Namespace:
GeonBit.ECS.Components.Particles.Animators
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ScaleAnimator(
BaseAnimatorProperties properties,
Vector3 fromScale,
Vector3 toScale,
float scaleTime,
float scaleTimeJitter = 0f,
float startScaleJitter = 0f,
float endScaleJitter = 0f
)
Parameters
- properties
- Type: GeonBit.ECS.Components.Particles.AnimatorsBaseAnimatorProperties
Basic animator properties. - fromScale
- Type: Vector3
Starting scale. - toScale
- Type: Vector3
Ending scale. - scaleTime
- Type: SystemSingle
How long to transition from starting to ending scale. - scaleTimeJitter (Optional)
- Type: SystemSingle
If provided, will add random jitter to scaling time. - startScaleJitter (Optional)
- Type: SystemSingle
If provided, will add random jitter to scaling starting value. - endScaleJitter (Optional)
- Type: SystemSingle
If provided, will add random jitter to scaling ending value.
See Also