Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    MaterialDiffuseLambertModelFeature Class

    Namespace: Stride.Rendering.Materials
    Assembly: Stride.Rendering.dll

    The diffuse Lambertian for the diffuse material model attribute.

    System.Object → MaterialFeature → MaterialDiffuseLambertModelFeature
    Derived from MaterialDiffuseLambertModelFeature:

    [DataContract("MaterialDiffuseLambertModelFeature")]
    [Display("Lambert", null)]
    public class MaterialDiffuseLambertModelFeature : MaterialFeature, IEnergyConservativeDiffuseModelFeature, IMaterialDiffuseModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>
    Name Description
    Methods
    Equals(IMaterialShadingModelFeature)
    Equals(MaterialDiffuseLambertModelFeature)
    Equals(Object)
    GenerateShader(MaterialGeneratorContext)
    GetHashCode()
    Explicit Interface Implementations
    IEnergyConservativeDiffuseModelFeature.IsEnergyConservative
    | Improve this Doc View Source

    Methods


    Equals(IMaterialShadingModelFeature)

    public bool Equals(IMaterialShadingModelFeature other)
    Parameters
    Type Name Description
    IMaterialShadingModelFeature other
    Returns
    Type Description
    System.Boolean

    Equals(MaterialDiffuseLambertModelFeature)

    public bool Equals(MaterialDiffuseLambertModelFeature other)
    Parameters
    Type Name Description
    MaterialDiffuseLambertModelFeature other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)

    GenerateShader(MaterialGeneratorContext)

    public override void GenerateShader(MaterialGeneratorContext context)
    Parameters
    Type Name Description
    MaterialGeneratorContext context
    Overrides
    MaterialFeature.GenerateShader(MaterialGeneratorContext)

    GetHashCode()

    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    Explicit Interface Implementations


    IEnergyConservativeDiffuseModelFeature.IsEnergyConservative

    bool IEnergyConservativeDiffuseModelFeature.IsEnergyConservative { get; set; }
    Returns
    Type Description
    System.Boolean

    Inherited Members

    MaterialFeature.Enabled
    MaterialFeature.Visit(MaterialGeneratorContext)
    MaterialFeature.MultipassGeneration(MaterialGeneratorContext)

    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