Struct LightData | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LightData

    Namespace: UnityEngine.Rendering.Universal
    Syntax
    public struct LightData

    Fields

    additionalLightsCount

    Declaration
    public int additionalLightsCount
    Field Value
    Type Description
    System.Int32

    mainLightIndex

    Declaration
    public int mainLightIndex
    Field Value
    Type Description
    System.Int32

    maxPerObjectAdditionalLightsCount

    Declaration
    public int maxPerObjectAdditionalLightsCount
    Field Value
    Type Description
    System.Int32

    shadeAdditionalLightsPerVertex

    Declaration
    public bool shadeAdditionalLightsPerVertex
    Field Value
    Type Description
    System.Boolean

    supportsMixedLighting

    Declaration
    public bool supportsMixedLighting
    Field Value
    Type Description
    System.Boolean

    visibleLights

    Declaration
    public NativeArray<VisibleLight> visibleLights
    Field Value
    Type Description
    NativeArray<VisibleLight>
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023