Interface IProvidesGetRayVisibility | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProvidesGetRayVisibility

    Provide the ability to get the visibility of rays

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesGetRayVisibility : IFunctionalityProvider

    Methods

    IsConeVisible(Transform)

    Returns whether the specified cone is visible

    Declaration
    bool IsConeVisible(Transform rayOrigin)
    Parameters
    Type Name Description
    Transform rayOrigin

    The rayOrigin that is being checked

    Returns
    Type Description
    Boolean

    Whether the cone is visible

    IsRayVisible(Transform)

    Returns whether the specified ray is visible

    Declaration
    bool IsRayVisible(Transform rayOrigin)
    Parameters
    Type Name Description
    Transform rayOrigin

    The rayOrigin that is being checked

    Returns
    Type Description
    Boolean

    Whether the ray is visible

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX