Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MaterialComputeColorKeys Class

    Namespace: Stride.Rendering.Materials
    Assembly: Stride.Rendering.dll
    System.Object → MaterialComputeColorKeys
    Derived from MaterialComputeColorKeys:

    public class MaterialComputeColorKeys
    Name Description
    Constructors
    MaterialComputeColorKeys(ObjectParameterKey<Texture>, ParameterKey, Nullable<Color>, Boolean)
    Properties
    DefaultTextureValue
    IsColor
    TextureBaseKey
    ValueBaseKey
    | Improve this Doc View Source

    Constructors


    MaterialComputeColorKeys(ObjectParameterKey<Texture>, ParameterKey, Nullable<Color>, Boolean)

    public MaterialComputeColorKeys(ObjectParameterKey<Texture> textureBaseKey, ParameterKey valueBaseKey, Color? defaultTextureValue = null, bool isColor = true)
    Parameters
    Type Name Description
    ObjectParameterKey<Texture> textureBaseKey
    ParameterKey valueBaseKey
    System.Nullable<Color> defaultTextureValue
    System.Boolean isColor
    | Improve this Doc View Source

    Properties


    DefaultTextureValue

    public Color? DefaultTextureValue { get; }
    Property Value
    Type Description
    System.Nullable<Color>

    IsColor

    public bool IsColor { get; }
    Property Value
    Type Description
    System.Boolean

    TextureBaseKey

    public ObjectParameterKey<Texture> TextureBaseKey { get; }
    Property Value
    Type Description
    ObjectParameterKey<Texture>

    ValueBaseKey

    public ParameterKey ValueBaseKey { get; }
    Property Value
    Type Description
    ParameterKey

    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