C# Класс CUE.NET.ColorCorrection.GammaCorrection

Represents a gamma-color-correction.
Наследование: IColorCorrection
Показать файл Открыть проект

Открытые методы

Метод Описание
ApplyTo ( CorsairColor color ) : void

Applies the gamma-correction to the given color.

GammaCorrection ( ) : System

Initializes a new instance of the GammaCorrection class using the default-value 1f (no correction) for all colors.

GammaCorrection ( float gamma ) : System

Initializes a new instance of the GammaCorrection class.

GammaCorrection ( float r, float g, float b ) : System

Initializes a new instance of the GammaCorrection class.

Описание методов

ApplyTo() публичный Метод

Applies the gamma-correction to the given color.
public ApplyTo ( CorsairColor color ) : void
color CUE.NET.Devices.Generic.CorsairColor The color to correct.
Результат void

GammaCorrection() публичный Метод

Initializes a new instance of the GammaCorrection class using the default-value 1f (no correction) for all colors.
public GammaCorrection ( ) : System
Результат System

GammaCorrection() публичный Метод

Initializes a new instance of the GammaCorrection class.
public GammaCorrection ( float gamma ) : System
gamma float The gamma-value for all colors used for color-correction. /// Values greater than one will make colors brighter, values less than one will make colors darker.
Результат System

GammaCorrection() публичный Метод

Initializes a new instance of the GammaCorrection class.
public GammaCorrection ( float r, float g, float b ) : System
r float The gamma-value for the color 'red' used for color-correction. /// Values greater than one will make colors brighter, values less than one will make colors darker.
g float The gamma-value for the color 'green' used for color-correction. Values /// greater than one will make colors brighter, values less than one will make colors darker.
b float The gamma-value for the color 'blue' used for color-correction. Values /// greater than one will make colors brighter, values less than one will make colors darker.
Результат System