docs.unity.cn
    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 : int

    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
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, October 27, 2021