docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetDefaultRayColor

    SetDefaultRayColor(Transform, Color)

    Set the color of the default ray

    Declaration
    void SetDefaultRayColor(Transform rayOrigin, Color color)
    Parameters
    Type Name Description
    Transform rayOrigin

    The ray on which to set the color

    Color color

    The color to set on the default ray

    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)