Class Tonemapping
A volume component that holds settings for the tonemapping effect.
Inherited Members
UnityEngine.Rendering.VolumeComponent.TryGetRevertMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceTerm()
UnityEngine.Rendering.VolumeComponent.TryGetApplyMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
UnityEngine.Rendering.VolumeComponent.GetSourceName(UnityEngine.Component)
Namespace: UnityEngine.Rendering.Universal
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/Tonemapping", new Type[]{typeof(UniversalRenderPipeline)})]
public sealed class Tonemapping : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, IPostProcessComponent
Fields
mode
Use this to select a tonemapping algorithm to use for color grading.
Declaration
[Tooltip("Select a tonemapping algorithm to use for the color grading process.")]
public TonemappingModeParameter mode
Field Value
Type | Description |
---|---|
TonemappingModeParameter |
Methods
IsActive()
Tells if the post process needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean | True if the component is active, otherwise false. |
Implements
IsTileCompatible()
Declaration
public bool IsTileCompatible()
Returns
Type | Description |
---|---|
Boolean |