docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRInputValueReader.InputSourceMode

    The mode that determines from which input source the value is read from.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Inputs.Readers
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRInputValueReader.InputSourceMode

    Fields

    Name Description
    InputAction

    The input is read from an input action defined and serialized with this behavior.

    InputActionReference

    The input is read from an input action defined in the project. This is the default mode.

    ManualValue

    The input is returned from manually set values, either in the Inspector window or at runtime through scripting.

    ObjectReference

    The input is read from an object reference that implements IXRInputValueReader<TValue>.

    Unused

    The input is explicitly not used. Set to this mode to avoid any performance cost when the input should be ignored.

    See Also
    inputSourceMode
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)