Class DisallowMultipleRendererFeature
Prevents ScriptableRendererFeatures
of same type to be added more than once to a Scriptable Renderer.
Inherited Members
Namespace: UnityEngine.Rendering.Universal
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class DisallowMultipleRendererFeature : Attribute, _Attribute
Constructors
DisallowMultipleRendererFeature(String)
Constructor for the attribute to prevent ScriptableRendererFeatures
of same type to be added more than once to a Scriptable Renderer.
Declaration
public DisallowMultipleRendererFeature(string customTitle = null)
Parameters
Type | Name | Description |
---|---|---|
String | customTitle | Sets the custom title for renderer feature. |
Properties
customTitle
Set the custom title for renderer feature.
Declaration
public string customTitle { get; }
Property Value
Type | Description |
---|---|
String |