docs.unity.cn
    Show / Hide Table of Contents

    Enum XRRayInteractor.QuerySnapVolumeInteraction

    Sets whether ray cast queries hit Trigger colliders and include or ignore snap volume trigger colliders.

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

    Fields

    Name Description Value
    Ignore

    Queries never report Trigger hits that are registered with a snap volume.


    0
    Collide

    Queries always report Trigger hits that are registered with a snap volume.


    1
    See Also
    raycastSnapVolumeInteraction
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 24, 2023