docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetSpotAngle

    SetSpotAngle(float, float)

    Set the spot light angle and inner spot percent. We don't use Light.innerSpotAngle.

    Declaration
    public void SetSpotAngle(float angle, float innerSpotPercent = 0)
    Parameters
    Type Name Description
    float angle

    inner spot angle in degree

    float innerSpotPercent

    inner spot angle in percent

    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)