Enum RaycastResultState | Magic Leap XR Plugin | 5.0.1-preview.1
docs.unity.cn
    Show / Hide Table of Contents

    Enum RaycastResultState

    Represents the state of a .

    Namespace: UnityEngine.XR.MagicLeap
    Syntax
    public enum RaycastResultState

    Fields

    Name Description
    ErrorInvalidParameter

    One of the fields of the RaycastQuery was invalid.

    ErrorNoCollision

    The raycast did not hit anything.

    ErrorUnknown

    An unknown error occurred.

    Pending

    The raycast is still being processed.

    SuccessHitObserved

    The raycast succeeded, and hit an observed portion of the world.

    SuccessHitUnobserved

    The raycast succeeded, and hit an unobserved portion of the world.

    Extension Methods

    RaycastResultStateExtensions.Done()
    RaycastResultStateExtensions.Success()
    RaycastResultStateExtensions.Error()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX