Class LuminanceToChannelTransform
A color transform to output the luminance to a specific channel.
[DataContract("LuminanceToChannelTransform")]
public class LuminanceToChannelTransform : ColorTransform
- Inheritance
-
LuminanceToChannelTransform
- Inherited Members
Constructors
LuminanceToChannelTransform()
Initializes a new instance of the LuminanceToChannelTransform class.
public LuminanceToChannelTransform()
LuminanceToChannelTransform(string)
Initializes a new instance of the LuminanceToChannelTransform class.
public LuminanceToChannelTransform(string colorTransformShader)
Parameters
colorTransformShader
stringName of the shader.
Properties
ColorChannel
Gets or sets the color channel to output the luminance. Default is alpha.
public ColorChannel ColorChannel { get; set; }
Property Value
- ColorChannel
The color channel.