Skip to main content

CombatShellAnimator

A class in Root.Township, Alta.PlayerEffects.

Client: animates the shell effect around a player in combat mode. CombatState triggers it through the player's SpecialEffectsController.

Constructors​

MemberWhat it is
CombatShellAnimator(PlayerCharacter character, Material shellMaterialSample)Creates a CombatShellAnimator from character and shellMaterialSample.

Fields​

MemberWhat it is
static readonly int _DissolveShader property id for _Dissolve.
static readonly int _WavesShader property id for _Waves.
static readonly int dissolveStrengthShader property id for _DissolveStrength, set by CombatShellSetting.
static readonly int progressShader property id for _Progress.
static readonly int ramp1Shader property id for _Ramp, set by CombatShellSetting.
static readonly int ramp2Shader property id for _Ramp2, set by CombatShellSetting.

Properties​

MemberWhat it is
protected override string MeshName { get; }Name of the shell mesh object: "_Combat Shell".

Methods​

MemberWhat it is
void AnimateCombatShield(ShellSetting setting, DurationCurve curve, float targetProgress, float startProgress)Applies the shell setting if it changed and animates the shell's progress between two values along a curve. Only while alive.

Used in​

Members of other types that take, return or hold a CombatShellAnimator: