docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ShapeAttenuationSpotPyramidLight

    ShapeAttenuationSpotPyramidLight(Vector3, Vector3)

    Attenuation by Light Shape for Spot Light with Pyramid Shape

    Declaration
    public static float ShapeAttenuationSpotPyramidLight(Vector3 forward, Vector3 wo)
    Parameters
    Type Name Description
    Vector3 forward

    Forward Vector of Directional Light

    Vector3 wo

    Vector pointing to the eye

    Returns
    Type Description
    float

    Attenuation Factor

    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)