InputAxis
struct in Unity.Cinemachine · Unity.Cinemachine
16 of 16 of Unity's members
In Tassix
An axis driven by input or scripts: a value in a range that wraps or clamps, with recentering.
Fields 6
float CenterVector2 RangeRecenteringSettings RecenteringRestrictionFlags Restrictionsfloat Valuebool WrapProperties 1
static InputAxis DefaultMomentary { get; }Methods 9
void CancelRecentering()float ClampValue(float v)float GetClampedValue()float GetNormalizedValue()void Reset()bool TrackValueChange()void TriggerRecentering()void UpdateRecentering(float deltaTime, bool forceCancel)void UpdateRecentering(float deltaTime, bool forceCancel, float center)After the wait without input, eases the value back to the center over the recentering time.
void Validate()