Class UIInputModule | XR Interaction Toolkit | 0.9.4-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class UIInputModule

    Base class for input modules that send UI input.

    Inheritance
    Object
    UIInputModule
    XRUIInputModule
    Namespace: UnityEngine.XR.Interaction.Toolkit.UI
    Syntax
    public abstract class UIInputModule : BaseInputModule
    Remarks

    Multiple input modules may be placed on the same event system. In such a setup, the modules will synchronize with each other to not send

    Fields

    clickSpeed

    Declaration
    public float clickSpeed
    Field Value
    Type Description
    Single

    moveDeadzone

    Declaration
    public float moveDeadzone
    Field Value
    Type Description
    Single

    repeatDelay

    Declaration
    public float repeatDelay
    Field Value
    Type Description
    Single

    repeatRate

    Declaration
    public float repeatRate
    Field Value
    Type Description
    Single

    trackedDeviceDragThresholdMultiplier

    Declaration
    public float trackedDeviceDragThresholdMultiplier
    Field Value
    Type Description
    Single

    Properties

    uiCamera

    The camera that is used to perform 2D raycasts when determining the screen space location of a tracked device cursor.

    Declaration
    public Camera uiCamera { get; set; }
    Property Value
    Type Description
    Camera

    Methods

    DoProcess()

    Declaration
    protected abstract void DoProcess()

    Process()

    Declaration
    public override void Process()
    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