docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsRayVisible

    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
    bool

    Whether the ray is visible

    In This Article
    Back to top
    Copyright © 2024 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)