Class MaterialDiffuseLambertModelFeature
The diffuse Lambertian for the diffuse material model attribute.
[DataContract("MaterialDiffuseLambertModelFeature")]
[Display("Lambert", null)]
public class MaterialDiffuseLambertModelFeature : MaterialFeature, IEnergyConservativeDiffuseModelFeature, IMaterialDiffuseModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>
- Inheritance
-
MaterialDiffuseLambertModelFeature
- Implements
- Inherited Members
Methods
Equals(IMaterialShadingModelFeature)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IMaterialShadingModelFeature other)
Parameters
other
IMaterialShadingModelFeatureAn object to compare with this object.
Returns
Equals(MaterialDiffuseLambertModelFeature)
public bool Equals(MaterialDiffuseLambertModelFeature other)
Parameters
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GenerateShader(MaterialGeneratorContext)
Generates the shader for the feature.
public override void GenerateShader(MaterialGeneratorContext context)
Parameters
context
MaterialGeneratorContextThe context.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.