Class Renderer2DData
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Rendering.Universal
Syntax
[Serializable]
[ReloadGroup]
[ExcludeFromPreset]
[MovedFrom("UnityEngine.Experimental.Rendering.Universal")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@latest/index.html?subfolder=/manual/2DRendererData_overview.html")]
public class Renderer2DData : ScriptableRendererData
Properties
hdrEmulationScale
HDR Emulation Scale allows platforms to use HDR lighting by compressing the number of expressible colors in exchange for extra intensity range. Scale describes this extra intensity range. Increasing this value too high may cause undesirable banding to occur.
Declaration
public float hdrEmulationScale { get; }
Property Value
Type | Description |
---|---|
Single |
lightBlendStyles
Returns a list Light2DBlendStyle
Declaration
public Light2DBlendStyle[] lightBlendStyles { get; }
Property Value
Type | Description |
---|---|
Light2DBlendStyle[] |
Methods
Create()
Declaration
protected override ScriptableRenderer Create()
Returns
Type | Description |
---|---|
ScriptableRenderer |
Overrides
OnEnable()
Declaration
protected override void OnEnable()