{}!Google Tag Manager end}} Class StencilStateData | Universal RP | 14.0.9
docs.unity3d.com
    목차 표시/숨기기

    Class StencilStateData

    Container class for stencil rendering settings.

    Inheritance
    Object
    StencilStateData
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering.Universal
    Syntax
    [Serializable]
    public class StencilStateData

    Fields

    failOperation

    The stencil operation to use when the stencil test fails.

    Declaration
    public StencilOp failOperation
    Field Value
    Type Description
    StencilOp

    overrideStencilState

    Used to mark whether the stencil values should be overridden or not.

    Declaration
    public bool overrideStencilState
    Field Value
    Type Description
    Boolean

    passOperation

    The stencil operation to use when the stencil test passes.

    Declaration
    public StencilOp passOperation
    Field Value
    Type Description
    StencilOp

    stencilCompareFunction

    The comparison function to use.

    Declaration
    public CompareFunction stencilCompareFunction
    Field Value
    Type Description
    CompareFunction

    stencilReference

    The stencil reference value.

    Declaration
    public int stencilReference
    Field Value
    Type Description
    Int32

    zFailOperation

    The stencil operation to use when the stencil test fails because of depth.

    Declaration
    public StencilOp zFailOperation
    Field Value
    Type Description
    StencilOp
    맨 위로
    Copyright © 2023 Unity Technologies —
    • Your Privacy Choices (Cookie Settings)