FadeScreenComponent
Namespace: Murder.Components
Assembly: Murder.dll
public sealed struct FadeScreenComponent : IComponent
Implements: IComponent
⭐ Constructors
public FadeScreenComponent(FadeType fade, float startedTime, float duration, Color color, string customTexture, float sorting, int bufferFrames)
Fades the screen using the FadeScreenSystem. Duration will be a minimum of 0.1
Parameters
fade
FadeType
startedTime
float
duration
float
color
Color
customTexture
string
sorting
float
bufferFrames
int
⭐ Properties
BufferFrames
public int BufferFrames { get; public set; }
Returns
int
Color
public readonly Color Color;
Returns
Color
CustomTexture
public readonly string CustomTexture;
Returns
string
Duration
public readonly float Duration;
Returns
float
Fade
public readonly FadeType Fade;
Returns
FadeType
Sorting
public readonly float Sorting;
Returns
float
StartedTime
public float StartedTime { get; public set; }
Returns
float
⚡