Click or drag to resize
FadeAnimator Constructor
Create the fade animator.

Namespace:  GeonBit.ECS.Components.Particles.Animators
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public FadeAnimator(
	BaseAnimatorProperties properties,
	float fromAlpha,
	float toAlpha,
	float fadeTime,
	float fadeTimeJitter = 0f
)

Parameters

properties
Type: GeonBit.ECS.Components.Particles.AnimatorsBaseAnimatorProperties
Basic animator properties.
fromAlpha
Type: SystemSingle
Starting alpha.
toAlpha
Type: SystemSingle
Ending alpha.
fadeTime
Type: SystemSingle
How long to transition from starting to ending alpha.
fadeTimeJitter (Optional)
Type: SystemSingle
If provided, will add random jitter to fading time.
See Also