InputBindingComposite
class in UnityEngine.InputSystem · Unity.InputSystem
6 of 8 of Unity's members
In Tassix
A binding that combines several parts (each its own controls) into one value. Projects derive from InputBindingComposite<TValue> and register theirs with InputSystem.RegisterBindingComposite<T>; the binding string's parameters ("Name(scale=2)") set its public fields, and its int fields marked [InputControl] get their parts' numbers.
Properties 2
abstract int valueSizeInBytes { get; }abstract Type valueType { get; }Methods 3
virtual float EvaluateMagnitude(ref InputBindingCompositeContext context)How far the composite is actuated (0 to 1); negative when the value's own magnitude is to be used.
static Type? GetValueType(string composite)The value type a registered composite produces, or null.
abstract object? ReadValueAsObject(ref InputBindingCompositeContext context)Not in Tassix yet 2
GetExpectedControlLayoutName ReadValue