Public classes
LowHealthController |
LowHealthDirectAccess
This class provides direct access to Low Health (shader) effects. Methods
Methods public void ResetToDefaultValues () Reset all fields in this class to their default zero values. public void SetColorLossEffect (float colorLossEffect, float colorLossTowardRed) Set amount of color and contrast loss effect.
public void SetDetailLossEffect (float detailLossEffect) Set amount of detail loss effect.
public void SetDoubleVisionEffect (float doubleVisionEffect) Set amount of double vision effect.
public void SetVisionLossEffect (float visionLossEffect) Set amount of vision loss effect.
public void UpdateShaderProperties () Update shader properties. This is typically called automatically whenever needed. |