ScaleAnimator Constructor (BaseAnimatorProperties, Single, Single, 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,
float fromScale,
float 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: SystemSingle
Starting scale. - toScale
- Type: SystemSingle
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