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

    attenuation

    The attenuation of the light.

    Declaration
    public Vector4 attenuation
    Field Value
    Type Description
    Vector4

    color

    The color of the light.

    Declaration
    public Vector4 color
    Field Value
    Type Description
    Vector4

    flags

    The flags used.

    Declaration
    public int flags
    Field Value
    Type Description
    int

    layerMask

    The layer mask used.

    Declaration
    public uint layerMask
    Field Value
    Type Description
    uint

    occlusionProbeInfo

    The occlusion probe info.

    Declaration
    public Vector4 occlusionProbeInfo
    Field Value
    Type Description
    Vector4

    radius

    The radius of the light.

    Declaration
    public float radius
    Field Value
    Type Description
    float

    spotDirection

    The direction for spot lights.

    Declaration
    public Vector3 spotDirection
    Field Value
    Type Description
    Vector3

    wsPos

    The world position.

    Declaration
    public Vector3 wsPos
    Field Value
    Type Description
    Vector3
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)