Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


prefixedRenderingLayerMaskNames

Returns the names of the Rendering Layer Masks for this pipeline, with each name prefixed by a unique numerical ID.
Read time 1 minuteLast updated 6 days ago

Definition

Warning
Deprecated. This property is obsolete. Use RenderingLayerMask API and Tags & Layers project settings instead. #from(23.3)
public virtual string[] prefixedRenderingLayerMaskNames { get; }

Remarks

This property is useful for creating custom Editor UI for a render pipeline. If the array of Rendering Layer Mask names contains duplicate names, this property lets you distinguish them by their prefix.