docs.unity.cn
    Show / Hide Table of Contents

    Struct GlobalLightLoopSettings

    Global Light Loop Settings.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public struct GlobalLightLoopSettings

    Fields

    cookieAtlasLastValidMip

    Last valid mip for cookie atlas.

    Declaration
    public int cookieAtlasLastValidMip
    Field Value
    Type Description
    Int32

    cookieAtlasSize

    Cookie atlas resolution.

    Declaration
    [FormerlySerializedAs("cookieSize")]
    public CookieAtlasResolution cookieAtlasSize
    Field Value
    Type Description
    CookieAtlasResolution

    cookieFormat

    Cookie atlas graphics format.

    Declaration
    public CookieAtlasGraphicsFormat cookieFormat
    Field Value
    Type Description
    CookieAtlasGraphicsFormat

    maxAreaLightsOnScreen

    Maximum number of area lights at the same time on screen.

    Declaration
    public int maxAreaLightsOnScreen
    Field Value
    Type Description
    Int32

    maxCubeReflectionOnScreen

    Maximum number of environment lights at the same time on screen.

    Declaration
    public int maxCubeReflectionOnScreen
    Field Value
    Type Description
    Int32

    maxDecalsOnScreen

    Maximum number of decals at the same time on screen.

    Declaration
    public int maxDecalsOnScreen
    Field Value
    Type Description
    Int32

    maxDirectionalLightsOnScreen

    Maximum number of directional lights at the same time on screen.

    Declaration
    public int maxDirectionalLightsOnScreen
    Field Value
    Type Description
    Int32

    maxLightsPerClusterCell

    Maximum number of lights per ray tracing light cluster cell.

    Declaration
    public int maxLightsPerClusterCell
    Field Value
    Type Description
    Int32

    maxLocalVolumetricFogOnScreen

    Maximum number of Local Volumetric Fog at the same time on screen.

    Declaration
    [Range(1F, 1024F)]
    public int maxLocalVolumetricFogOnScreen
    Field Value
    Type Description
    Int32

    maxLocalVolumetricFogSize

    Maximum size of one Local Volumetric Fog texture.

    Declaration
    [Obsolete("The texture resolution limit in volumetric fogs have been removed. This field is unused.")]
    public LocalVolumetricFogResolution maxLocalVolumetricFogSize
    Field Value
    Type Description
    LocalVolumetricFogResolution

    maxPlanarReflectionOnScreen

    Maximum number of planar lights at the same time on screen.

    Declaration
    public int maxPlanarReflectionOnScreen
    Field Value
    Type Description
    Int32

    maxPunctualLightsOnScreen

    Maximum number of punctual lights at the same time on screen.

    Declaration
    public int maxPunctualLightsOnScreen
    Field Value
    Type Description
    Int32

    planarReflectionAtlasSize

    Obsolete: Use planar reflection atlas.

    Declaration
    [FormerlySerializedAs("planarReflectionTextureSize")]
    [SerializeField]
    [Obsolete("There is no more planar reflection atlas, use reflection probe atlases instead.", false)]
    public PlanarReflectionAtlasResolution planarReflectionAtlasSize
    Field Value
    Type Description
    PlanarReflectionAtlasResolution

    pointCookieSize

    Cookie atlas resolution for point lights.

    Declaration
    public CubeCookieResolution pointCookieSize
    Field Value
    Type Description
    CubeCookieResolution

    reflectionCacheCompressed

    Enable reflection probe cache compression.

    Declaration
    public bool reflectionCacheCompressed
    Field Value
    Type Description
    Boolean

    reflectionProbeDecreaseResToFit

    Downsize the reflection probe resolution if the probe doesn't fit in the reflection probe's texture cache.

    Declaration
    public bool reflectionProbeDecreaseResToFit
    Field Value
    Type Description
    Boolean

    reflectionProbeFormat

    Reflection probes format.

    Declaration
    public ReflectionAndPlanarProbeFormat reflectionProbeFormat
    Field Value
    Type Description
    ReflectionAndPlanarProbeFormat

    reflectionProbeTexCacheSize

    Reflection probes texture cache size.

    Declaration
    public ReflectionProbeTextureCacheResolution reflectionProbeTexCacheSize
    Field Value
    Type Description
    ReflectionProbeTextureCacheResolution

    reflectionProbeTexLastValidCubeMip

    Last valid mip for cube reflection probes in the reflection probe's texture cache.

    Declaration
    public int reflectionProbeTexLastValidCubeMip
    Field Value
    Type Description
    Int32

    reflectionProbeTexLastValidPlanarMip

    Last valid mip for planar reflection probes in the reflection probe's texture cache.

    Declaration
    public int reflectionProbeTexLastValidPlanarMip
    Field Value
    Type Description
    Int32

    skyLightingOverrideLayerMask

    LayerMask used for sky lighting override.

    Declaration
    public LayerMask skyLightingOverrideLayerMask
    Field Value
    Type Description
    LayerMask

    skyReflectionSize

    Resolution of the sky reflection cubemap.

    Declaration
    public SkyResolution skyReflectionSize
    Field Value
    Type Description
    SkyResolution

    supportFabricConvolution

    Enable fabric specific convolution for probes and sky lighting.

    Declaration
    public bool supportFabricConvolution
    Field Value
    Type Description
    Boolean
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023