AxisState
struct in Unity.Cinemachine · Unity.Cinemachine
Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix
Cinemachine 2's axis: a value driven by an input axis's speed, wrapping or clamping.
Constructors 1
AxisState(float minValue, float maxValue, bool wrap, bool rangeLocked, float maxSpeed, float accelTime, float decelTime, string name, bool invert)Fields 12
float Valuefloat m_AccelTimefloat m_DecelTimestring m_InputAxisNamefloat m_InputAxisValuebool m_InvertInputfloat m_MaxSpeedfloat m_MaxValuefloat m_MinValueRecentering m_RecenteringSpeedMode m_SpeedModebool m_WrapProperties 1
bool HasInputProvider { get; }Methods 4
void Reset()void SetInputAxisProvider(int axis, IInputAxisProvider? provider)bool Update(float deltaTime)Reads the input and moves the value; true when it changed.
void Validate()