docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetLightTypeAndShape

    SetLightTypeAndShape(HDLightTypeAndShape)

    Set the type of the light and its shape. Note: this will also change the unit of the light if the current one is not supported by the new light type.

    Declaration
    public void SetLightTypeAndShape(HDLightTypeAndShape typeAndShape)
    Parameters
    Type Name Description
    HDLightTypeAndShape typeAndShape
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)