FadeWhenInCutsceneComponent

Namespace: Murder.Components
Assembly: Murder.dll

public sealed struct FadeWhenInCutsceneComponent : IComponent

For now, this is only supported for aseprite components.

Implements: IComponent

⭐ Constructors

public FadeWhenInCutsceneComponent()
public FadeWhenInCutsceneComponent(float duration, float previousAlpha)

Parameters
duration float
previousAlpha float

⭐ Properties

Duration

public readonly float Duration;

Returns
float

PreviousAlpha

public readonly float PreviousAlpha;

Returns
float

⭐ Methods

TrackAlpha(float)

public FadeWhenInCutsceneComponent TrackAlpha(float alpha)

Parameters
alpha float

Returns
FadeWhenInCutsceneComponent