docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method celestialProjectedOcclusionRadius

    celestialProjectedOcclusionRadius(Camera)

    Retrieves the projected occlusion radius from a particular celestial in the infinity plane with an angular radius. This is used for directional lights which require to have consistent occlusion radius regardless of the near/farplane configuration.

    Declaration
    public float celestialProjectedOcclusionRadius(Camera mainCam)
    Parameters
    Type Name Description
    Camera mainCam

    The camera utilized to calculate the occlusion radius

    Returns
    Type Description
    float

    The value, in world units, of the occlusion angular radius.

    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)