A class in Root.Township, Alta.PlayerEffects.
Client: the shell animator for stat effect shields around a player. Several shields can be asked for at once; the highest priority shows and the rest wait in a queue.
Constructors
Fields
| Member | What it is |
|---|
static readonly int _ColorA | Shader ID of _ColorA. |
static readonly int _ColorB | Shader ID of _ColorB. |
static readonly int _Progress | Shader ID of _Progress. |
static readonly int _Speed | Shader ID of _Speed. |
static readonly int _UTile | Shader ID of _UTile. |
static readonly int _VTile | Shader ID of _VTile. |
static readonly int _WaveAlpha | Shader ID of _WaveAlpha. |
static readonly int _WaveColor | Shader ID of _WaveColor. |
static readonly int _WaveTexture | Shader ID of _WaveTexture. |
static readonly int _Width | Shader ID of _Width. |
2 private and internal fields
Properties
| Member | What it is |
|---|
ShellAnimationHandler CurrentHandler { get; set; } | The shield being shown. |
protected override string MeshName { get; } | "_Stat EffectS Shell". |
Methods
| Member | What it is |
|---|
ShellAnimationHandler AnimateShield(StatEffectShellSetting setting, float startProgress, float priority) | Asks for a shield with a setting and priority (higher shows first). It plays now or queues; the returned handler ends it. |
4 private and internal methods
| Member | What it is |
|---|
private void AnimateCurrentHandler() | Starts the current handler's expand animation, or queues it by priority if another animation is running. |
private void FollowQueue() | Takes the next still-active handler off the queue and animates it; clears the current handler if none is left. |
private void HandlerDeactivated(ShellAnimationHandler handler) | When the current handler ends, animates the shell back out and then moves on to the queue. |
private void ReturnToCurrent() | Re-animates the current handler if still active, otherwise follows the queue. |
Used in
Members of other types that take, return or hold a StatEffectShellAnimator: