docs.unity3d.com
    Show / Hide Table of Contents

    Enum TrackedPoseDriver.UpdateType

    Options for which phases of the player loop will update Transform properties.

    Namespace: UnityEngine.InputSystem.XR
    Syntax
    public enum UpdateType

    Fields

    Name Description Value
    UpdateAndBeforeRender

    Update after the Input System has completed an update and right before rendering. This is the recommended and default option to minimize lag for XR tracked devices.


    0
    Update

    Update after the Input System has completed an update except right before rendering.


    This may be dynamic update, fixed update, or a manual update depending on the Update Mode project setting for Input System.

    1
    BeforeRender

    Update after the Input System has completed an update right before rendering.


    Note that this update mode may not trigger if there are no XR devices added which use before render timing.

    2
    See Also
    updateType
    onAfterUpdate
    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