Version: 2023.2
public Rendering.SortingLayerRange sortingLayerRange ;

描述

Unity renders objects whose SortingLayer.value value is within range specified by this SortingLayerRange.

Additional resources: ScriptableRenderContext.DrawRenderers, SortingLayer.value, SortingLayerRange, Creating a simple render loop in a custom render pipeline.