Unity_1lab/1 laba/Library/PackageCache/com.unity.render-pipelines.universal@3696a2e8b4ac/Runtime/Data/RenderStateData.cs
Vladislav 23109c3619 Небольшой фикс звуков
-Добавил отдельный звук шага и запахало как надо.
2025-09-16 17:48:42 +03:00

40 lines
1.2 KiB
C#

namespace UnityEngine.Rendering.Universal
{
/// <summary>
/// Container class for stencil rendering settings.
/// </summary>
[System.Serializable]
public class StencilStateData
{
/// <summary>
/// Used to mark whether the stencil values should be overridden or not.
/// </summary>
public bool overrideStencilState = false;
/// <summary>
/// The stencil reference value.
/// </summary>
public int stencilReference = 0;
/// <summary>
/// The comparison function to use.
/// </summary>
public CompareFunction stencilCompareFunction = CompareFunction.Always;
/// <summary>
/// The stencil operation to use when the stencil test passes.
/// </summary>
public StencilOp passOperation = StencilOp.Keep;
/// <summary>
/// The stencil operation to use when the stencil test fails.
/// </summary>
public StencilOp failOperation = StencilOp.Keep;
/// <summary>
/// The stencil operation to use when the stencil test fails because of depth.
/// </summary>
public StencilOp zFailOperation = StencilOp.Keep;
}
}