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 Value
    ErrorUnknown

    An unknown error occurred.

    0
    ErrorInvalidParameter

    One of the fields of the RaycastQuery was invalid.

    1
    Pending

    The raycast is still being processed.

    2
    ErrorNoCollision

    The raycast did not hit anything.

    3
    SuccessHitUnobserved

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

    4
    SuccessHitObserved

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

    5

    Extension Methods

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