SortingLayerRange
Describes a renderer's sorting layer range.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
- Implements: IEquatable<SortingLayerRange>
public struct SortingLayerRange : IEquatable<SortingLayerRange>
Remarks
ScriptableRenderContext.DrawRenderers, sortingLayerRange.
Constructors
Constructor | Description |
|---|---|
| SortingLayerRange(System.Int16,System.Int16) | Sets the inclusive range for a sorting layer object. |
Properties
Property | Description |
|---|---|
| lowerBound | Inclusive lower bound for the range. |
| upperBound | Inclusive upper bound for the range. |
Static Properties
Property | Description |
|---|---|
| all | A range that includes all objects. |