docs.unity.cn
    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
    Generated by DocFX
    on Monday, July 17, 2023