MaterialSpecularMicrofacetModelFeature Class
Namespace: Stride.Rendering.Materials
Assembly: Stride.Rendering.dll
The microfacet specular shading model.
[DataContract("MaterialSpecularMicrofacetModelFeature")]
[Display("Microfacet", null)]
public class MaterialSpecularMicrofacetModelFeature : MaterialFeature, IMaterialSpecularModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>, IEquatable<MaterialSpecularMicrofacetModelFeature>
|
Improve this Doc
View Source
Properties
Environment
[DataMember(40)]
[Display("Environment (DFG)", null)]
public IMaterialSpecularMicrofacetEnvironmentFunction Environment { get; set; }
Property Value
Fresnel
[DataMember(10)]
[Display("Fresnel", null)]
public IMaterialSpecularMicrofacetFresnelFunction Fresnel { get; set; }
Property Value
NormalDistribution
[DataMember(30)]
[Display("Normal Distribution", null)]
public IMaterialSpecularMicrofacetNormalDistributionFunction NormalDistribution { get; set; }
Property Value
Visibility
[DataMember(20)]
[Display("Visibility", null)]
public IMaterialSpecularMicrofacetVisibilityFunction Visibility { get; set; }
Property Value
|
Improve this Doc
View Source
Methods
Equals(IMaterialShadingModelFeature)
public bool Equals(IMaterialShadingModelFeature other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(MaterialSpecularMicrofacetModelFeature)
public bool Equals(MaterialSpecularMicrofacetModelFeature other)
Parameters
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
Overrides
GenerateShaderCompositions(MaterialGeneratorContext, ShaderMixinSource)
protected virtual void GenerateShaderCompositions(MaterialGeneratorContext context, ShaderMixinSource shaderSource)
Parameters
GetHashCode()
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
Extension Methods