Table of Contents

Class HUDVisualization

Namespace
Root
Assembly
SPZGameAssembly.dll
public abstract class HUDVisualization
Inheritance
object
HUDVisualization
Derived
Extension Methods

Constructors

HUDVisualization(Player, Viewport, string, bool)

protected HUDVisualization(Player player, Viewport viewport, string id, bool defaultActive = false)

Parameters

player Player
viewport Viewport
id string
defaultActive bool

Fields

ActiveSequence

protected Sequence ActiveSequence

Field Value

Sequence

Alpha

protected float Alpha

Field Value

float

Id

public readonly string Id

Field Value

string

Player

protected Player Player

Field Value

Player

Viewport

protected Viewport Viewport

Field Value

Viewport

Properties

Active

public bool Active { get; }

Property Value

bool

IsAvailable

public abstract bool IsAvailable { get; }

Property Value

bool

IsForcedActive

public virtual bool IsForcedActive { get; }

Property Value

bool

IsUserEnabled

public bool IsUserEnabled { get; }

Property Value

bool

Methods

GetAnimationDuration(bool)

protected virtual float GetAnimationDuration(bool fadingOut)

Parameters

fadingOut bool

Returns

float

GetAnimationEasing(bool)

protected virtual Ease GetAnimationEasing(bool fadingOut)

Parameters

fadingOut bool

Returns

Ease

GetIcon()

public abstract Sprite GetIcon()

Returns

Sprite

GetTitle()

public abstract IText GetTitle()

Returns

IText

OnGameUpdate(InputDownstreamContext, FrameDrawOptions)

public virtual void OnGameUpdate(InputDownstreamContext context, FrameDrawOptions options)

Parameters

context InputDownstreamContext
options FrameDrawOptions

SetActive(bool)

public void SetActive(bool active)

Parameters

active bool

SetEnabled(bool)

public void SetEnabled(bool enabled)

Parameters

enabled bool

ToggleEnabled()

public void ToggleEnabled()