Class ScreenShakeSettings

Namespace
SurvivorsMaker.Presentation
Assembly
SurvivorsMaker.Presentation.dll

Screen Shake tuning; defaults are defined by the field initializers and can be overridden per game.

public sealed class ScreenShakeSettings
Inheritance
ScreenShakeSettings
Inherited Members

Constructors

ScreenShakeSettings()

public ScreenShakeSettings()

Fields

Amplitude

Camera shake displacement in world units; 0 = no displacement.

[Tooltip("Camera shake displacement in world units; 0 = no displacement.")]
public float Amplitude

Field Value

float

Duration

Duration in seconds; nonnegative.

[Tooltip("Duration in seconds; nonnegative.")]
public float Duration

Field Value

float

Enabled

Enable these visual effects; off skips this presentation feature without changing gameplay.

[Tooltip("Enable these visual effects; off skips this presentation feature without changing gameplay.")]
public bool Enabled

Field Value

bool

Frequency

Frequency; animation oscillation rate per second, 0 = no oscillation.

[Tooltip("Frequency; animation oscillation rate per second, 0 = no oscillation.")]
public float Frequency

Field Value

float

VerticalFrequencyRatio

Vertical oscillation frequency relative to horizontal; 1 = equal rates.

[Tooltip("Vertical oscillation frequency relative to horizontal; 1 = equal rates.")]
public float VerticalFrequencyRatio

Field Value

float