FadeTransitionComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct FadeTransitionComponent : IComponent
For now, this will only fade out sprite components.
Implements: IComponent
⭐ Constructors
public FadeTransitionComponent(float duration, float startAlpha, float targetAlpha, bool destroyOnEnd)
Parameters
duration
float
startAlpha
float
targetAlpha
float
destroyOnEnd
bool
public FadeTransitionComponent(float duration, float startAlpha, float targetAlpha)
Parameters
duration
float
startAlpha
float
targetAlpha
float
⭐ Properties
DestroyEntityOnEnd
public readonly bool DestroyEntityOnEnd;
Returns
bool
Duration
public readonly float Duration;
Fade duration in seconds.
Returns
float
StartAlpha
public readonly float StartAlpha;
Returns
float
StartTime
public readonly float StartTime;
Returns
float
TargetAlpha
public readonly float TargetAlpha;
Returns
float
⚡