docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRBaseController.UpdateType

    The time within the frame that controller pose will be sampled.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum UpdateType

    Fields

    Name Description Value
    UpdateAndBeforeRender

    Sample input at both update and directly before rendering. For smooth controller pose tracking, we recommend using this value as it will provide the lowest input latency for the device. This is the default value for the UpdateType option.


    0
    Update

    Only sample input during the update phase of the frame.


    1
    BeforeRender

    Only sample input directly before rendering.


    2
    Fixed

    Sample input corresponding to FixedUpdate().


    3
    See Also
    updateTrackingType
    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