Class HUDVisualization
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public abstract class HUDVisualization
- Inheritance
-
objectHUDVisualization
- Derived
- Extension Methods
Constructors
HUDVisualization(Player, Viewport, string, bool)
protected HUDVisualization(Player player, Viewport viewport, string id, bool defaultActive = false)
Parameters
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
Viewport
protected Viewport Viewport
Field Value
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
fadingOutbool
Returns
- float
GetAnimationEasing(bool)
protected virtual Ease GetAnimationEasing(bool fadingOut)
Parameters
fadingOutbool
Returns
- Ease
GetIcon()
public abstract Sprite GetIcon()
Returns
- Sprite
GetTitle()
public abstract IText GetTitle()
Returns
OnGameUpdate(InputDownstreamContext, FrameDrawOptions)
public virtual void OnGameUpdate(InputDownstreamContext context, FrameDrawOptions options)
Parameters
contextInputDownstreamContextoptionsFrameDrawOptions
SetActive(bool)
public void SetActive(bool active)
Parameters
activebool
SetEnabled(bool)
public void SetEnabled(bool enabled)
Parameters
enabledbool
ToggleEnabled()
public void ToggleEnabled()