Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LuminanceToChannelTransform Class

    Namespace: Stride.Rendering.Images
    Assembly: Stride.Rendering.dll

    A color transform to output the luminance to a specific channel.

    System.Object → ColorTransformBase → ColorTransform → LuminanceToChannelTransform
    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.

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.


    Inherited Members

    ColorTransformBase.Group
    ColorTransformBase.Shader
    ColorTransformBase.GenericArguments
    ColorTransformBase.Parameters
    ColorTransformBase.Enabled
    ColorTransformBase.PrepareParameters(ColorTransformContext, ParameterCollection, String)
    ColorTransformBase.UpdateParameters(ColorTransformContext)

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation