LumaCoefficients Constructor

Constructor in LumaCoefficients

Declaration

public LumaCoefficients(float R, float G, float B)

Description

Creates new luma coefficients with the given values.

Parameters

RThe luma coefficient for the red channel.
GThe luma coefficient for the green channel.
BThe luma coefficient for the blue channel.

Overload

Declaration

public LumaCoefficients(LumaCoefficients other)

Description

Creates a new copy of the values.

Parameters

otherThe other values to copy.