docs.unity3d.com
    Show / Hide Table of Contents

    Class FallbackComposite<TValue>

    Base class for a composite that returns a single value computed from an ordered list of bindings.

    Inheritance
    Object
    FallbackComposite<TValue>
    QuaternionFallbackComposite
    Vector3FallbackComposite
    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Composites
    Syntax
    public abstract class FallbackComposite<TValue> : InputBindingComposite<TValue> where TValue : struct
    Type Parameters
    Name Description
    TValue

    Type of value returned by the composite.

    Remarks

    This composite allows for defining multiple binding paths, but unlike a Value action with multiple bindings which uses control magnitude to select the active control, this composite will use an ordered priority list of bindings. If the first input binding is not bound to an input control, it will fallback to try the second input binding, and so on.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023