Class WhiteBalance
A volume component that holds settings for the White Balance effect.
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/White Balance", new Type[]{typeof(HDRenderPipeline)})]
public sealed class WhiteBalance : VolumeComponent, IPostProcessComponent
Fields
temperature
Controls the color temperature HDRP uses for white balancing.
Declaration
[Tooltip("Controls the color temperature HDRP uses for white balancing.")]
public ClampedFloatParameter temperature
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
tint
Controls the white balance color to compensate for a green or magenta tint.
Declaration
[Tooltip("Controls the white balance color to compensate for a green or magenta tint.")]
public ClampedFloatParameter tint
Field Value
Type | Description |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
Methods
IsActive()
Tells if the effect needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
|