Enum RaycastResultState | Magic Leap XR Plugin | 6.0.0
docs.unity3d.com
    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 © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023