Class ExposureHelpers
Utility methods for exposure.
Namespace: Evergine.Framework.Helpers
Assembly: Evergine.Framework.dll
Syntax
public static class ExposureHelpers
Methods
EV100(float, float, float)
Gets the EV100 from camera parameters.
Declaration
public static float EV100(float aperture, float shutterSpeed, float sensitivity)
Parameters
Type | Name | Description |
---|---|---|
float | aperture | The aperture. |
float | shutterSpeed | The shutter speed. |
float | sensitivity | The sensitivity. |
Returns
Type | Description |
---|---|
float | The computed EV100. |
EV100FromExposure(float)
Gets the EV100 from the exposure.
Declaration
public static float EV100FromExposure(float exposure)
Parameters
Type | Name | Description |
---|---|---|
float | exposure | The exposure. |
Returns
Type | Description |
---|---|
float | The computed EV100. |
EV100FromIlluminance(float)
Gets the EV100 from the illuminance value.
Declaration
public static float EV100FromIlluminance(float illuminance)
Parameters
Type | Name | Description |
---|---|---|
float | illuminance | The illuminance. |
Returns
Type | Description |
---|---|
float | The computed EV100. |
EV100FromLuminance(float)
Gets the EV100 from the luminance value.
Declaration
public static float EV100FromLuminance(float luminance)
Parameters
Type | Name | Description |
---|---|---|
float | luminance | The luminance. |
Returns
Type | Description |
---|---|
float | The computed EV100. |
Exposure(float)
Gets the exposure from EV100.
Declaration
public static float Exposure(float ev100)
Parameters
Type | Name | Description |
---|---|---|
float | ev100 | The EV100 value. |
Returns
Type | Description |
---|---|
float | The computed exposure. |
Exposure(float, float, float)
Gets the exposure from camera parameters.
Declaration
public static float Exposure(float aperture, float shutterSpeed, float sensitivity)
Parameters
Type | Name | Description |
---|---|---|
float | aperture | The aperture. |
float | shutterSpeed | The shutter speed. |
float | sensitivity | The sensitivity. |
Returns
Type | Description |
---|---|
float | The computed exposure. |
Illuminance(float)
The luminance value from EV100.
Declaration
public static float Illuminance(float ev100)
Parameters
Type | Name | Description |
---|---|---|
float | ev100 | The EV100. |
Returns
Type | Description |
---|---|
float | The luminance value. |
Illuminance(float, float, float)
Gets the illuminance value from the camera parameters.
Declaration
public static float Illuminance(float aperture, float shutterSpeed, float sensitivity)
Parameters
Type | Name | Description |
---|---|---|
float | aperture | The aperture. |
float | shutterSpeed | The shutter speed. |
float | sensitivity | The sensitivity. |
Returns
Type | Description |
---|---|
float | The illuminance value. |
Luminance(float)
The luminance value from EV100.
Declaration
public static float Luminance(float ev100)
Parameters
Type | Name | Description |
---|---|---|
float | ev100 | The EV100. |
Returns
Type | Description |
---|---|
float | The luminance value. |
Luminance(float, float, float)
Gets the luminance value from the camera parameters.
Declaration
public static float Luminance(float aperture, float shutterSpeed, float sensitivity)
Parameters
Type | Name | Description |
---|---|---|
float | aperture | The aperture. |
float | shutterSpeed | The shutter speed. |
float | sensitivity | The sensitivity. |
Returns
Type | Description |
---|---|
float | The luminance value. |