Class ToneMappingSettings
Contains settings for Tone Mapping effect rendering.
Inheritance
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class ToneMappingSettings : ValueType
Fields
Mode
The tone mapping mode to use for the color grading process.
Declaration
[EditorOrder(2)]
public ToneMappingMode Mode
Field Value
ToneMappingMode
|
WhiteTemperature
Adjusts the white balance in relation to the temperature of the light in the scene. When the light temperature and this one match the light will appear white. When a value is used that is higher than the light in the scene it will yield a "warm" or yellow color, and, conversely, if the value is lower, it would yield a "cool" or blue color.
Declaration
[Limit(1500F, 15000F, 1F)]
[EditorOrder(0)]
public float WhiteTemperature
Field Value
System.Single
|
WhiteTint
Adjusts the white balance temperature tint for the scene by adjusting the cyan and magenta color ranges. Ideally, this setting should be used once you've adjusted the white balance temperature to get accurate colors. Under some light temperatures, the colors may appear to be more yellow or blue. This can be used to balance the resulting color to look more natural.
Declaration
[Limit(-1F, 1F, 0.001F)]
[EditorOrder(1)]
public float WhiteTint
Field Value
System.Single
|
Properties
Default
The default ToneMappingSettings.
Declaration
public static ToneMappingSettings Default { get; }
Property Value
ToneMappingSettings
|