Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ColorRgbProvider Class

    Namespace: Stride.Rendering.Colors
    Assembly: Stride.Rendering.dll

    A light color described by a rgb color

    System.Object → ColorRgbProvider
    Derived from ColorRgbProvider:

    [DataContract("ColorRgbProvider")]
    [DataAlias("LightColorRgb")]
    [Display("RGB", null)]
    public class ColorRgbProvider : IColorProvider
    Name Description
    Constructors
    ColorRgbProvider()

    Initializes a new instance of the ColorRgbProvider class.

    ColorRgbProvider(Color)

    Initializes a new instance of the ColorRgbProvider class.

    ColorRgbProvider(Color3)

    Initializes a new instance of the ColorRgbProvider class.

    Properties
    Value

    Gets or sets the light color in rgb.

    Methods
    ComputeColor()
    | Improve this Doc View Source

    Constructors


    ColorRgbProvider()

    Initializes a new instance of the ColorRgbProvider class.

    public ColorRgbProvider()

    ColorRgbProvider(Color)

    Initializes a new instance of the ColorRgbProvider class.

    public ColorRgbProvider(Color color)
    Parameters
    Type Name Description
    Color color

    The color.


    ColorRgbProvider(Color3)

    Initializes a new instance of the ColorRgbProvider class.

    public ColorRgbProvider(Color3 color)
    Parameters
    Type Name Description
    Color3 color

    The color.

    | Improve this Doc View Source

    Properties


    Value

    Gets or sets the light color in rgb.

    [DataMember(10)]
    [DataAlias("Color")]
    public Color3 Value { get; set; }
    Property Value
    Type Description
    Color3

    The color.

    | Improve this Doc View Source

    Methods


    ComputeColor()

    public Color3 ComputeColor()
    Returns
    Type Description
    Color3

    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