Scripting API

AxisComposite

class in UnityEngine.InputSystem.Composites · Unity.InputSystem · inherits from InputBindingComposite<float>

9 of 9 of Unity's members
In Tassix

One axis from a negative and a positive part, between min and max around their midpoint.

Fields 5

float maxValue
float minValue
int negative
int positive
WhichSideWins whichSideWins

Properties 1

float midPoint { get; }

Methods 2

float EvaluateMagnitude(ref InputBindingCompositeContext context)

How far from the midpoint, as a fraction of the way to the end.

float ReadValue(ref InputBindingCompositeContext context)