docs.unity.cn
    Show / Hide Table of Contents

    Struct GlobalDecalSettings

    Global Decal 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 GlobalDecalSettings

    Fields

    atlasHeight

    Decal atlas height in pixels.

    Declaration
    public int atlasHeight
    Field Value
    Type Description
    Int32

    atlasWidth

    Decal atlas width in pixels.

    Declaration
    public int atlasWidth
    Field Value
    Type Description
    Int32

    drawDistance

    Maximum draw distance.

    Declaration
    public int drawDistance
    Field Value
    Type Description
    Int32

    perChannelMask

    Enables per channel mask.

    Declaration
    public bool perChannelMask
    Field Value
    Type Description
    Boolean

    transparentTextureResolution

    Resolution of textures in the decal atlas for shader graphs that affect transparent materials

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