docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PunctualLightData

    The point/spot light data passed to the deferred shaders.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering.Universal
    Assembly: Unity.RenderPipelines.Universal.Runtime.dll
    Syntax
    public struct PunctualLightData

    Fields

    Name Description
    attenuation

    The attenuation of the light.

    color

    The color of the light.

    flags

    The flags used.

    layerMask

    The layer mask used.

    occlusionProbeInfo

    The occlusion probe info.

    radius

    The radius of the light.

    spotDirection

    The direction for spot lights.

    wsPos

    The world position.

    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)