LuminanceToChannelTransform Class
Namespace: Stride.Rendering.ImagesAssembly: Stride.Rendering.dll
A color transform to output the luminance to a specific channel.
Derived from LuminanceToChannelTransform:
[DataContract("LuminanceToChannelTransform")]
public class LuminanceToChannelTransform : ColorTransform
Name | Description | |
---|---|---|
Constructors | ||
LuminanceToChannelTransform() | Initializes a new instance of the LuminanceToChannelTransform class. |
|
LuminanceToChannelTransform(String) | Initializes a new instance of the LuminanceToChannelTransform class. |
|
Properties | ||
ColorChannel | Gets or sets the color channel to output the luminance. Default is alpha. |
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
Type | Name | Description |
---|---|---|
System.String | colorTransformShader | Name 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
Type | Description |
---|---|
ColorChannel | The color channel. |