docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum RaycastResultState

    Represents the state of a RaycastResult.

    Namespace: UnityEngine.XR.MagicLeap
    Assembly: UnityEngine.XR.MagicLeap.dll
    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(RaycastResultState)
    RaycastResultStateExtensions.Error(RaycastResultState)
    RaycastResultStateExtensions.Success(RaycastResultState)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)