Enum MeteringMode
Metering methods that HDRP uses the filter the luminance source
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public enum MeteringMode
Fields
Name | Description | Value |
---|---|---|
Average | The Camera uses the entire luminance buffer to measure exposure. |
0 |
Spot | The Camera only uses the center of the buffer to measure exposure. This is useful if you want to only expose light against what is in the center of your screen. |
1 |
CenterWeighted | The Camera applies a weight to every pixel in the buffer and then uses them to measure the exposure. Pixels in the center have the maximum weight, pixels at the screen borders have the minimum weight, and pixels in between have a progressively lower weight the closer they are to the screen borders. |
2 |
MaskWeighted | The Camera applies a weight to every pixel in the buffer and then uses them to measure the exposure. The weighting is specified by the texture provided by the user. Note that if no texture is provided, then this metering mode is equivalent to Average. |
3 |
ProceduralMask | Create a weight mask centered around the specified UV and with the desired parameters. |
4 |