docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDefaultRayColor

    GetDefaultRayColor(Transform)

    Get the color of the default ray

    Declaration
    Color GetDefaultRayColor(Transform rayOrigin)
    Parameters
    Type Name Description
    Transform rayOrigin

    The ray whose color to get

    Returns
    Type Description
    Color

    The color of the default ray for the given ray origin

    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)