MaterialSpecularThinGlassModelFeature Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
System.Object → MaterialFeature → MaterialSpecularMicrofacetModelFeature →
MaterialSpecularThinGlassModelFeature
Derived from MaterialSpecularThinGlassModelFeature:
[DataContract("MaterialSpecularThinGlassModelFeature")]
[Display("Glass", null)]
public class MaterialSpecularThinGlassModelFeature : MaterialSpecularMicrofacetModelFeature, IMaterialSpecularModelFeature, IMaterialShadingModelFeature, IMaterialFeature, IMaterialShaderGenerator, IEquatable<IMaterialShadingModelFeature>, IEquatable<MaterialSpecularMicrofacetModelFeature>, IEquatable<MaterialSpecularThinGlassModelFeature>
Name | Description | |
---|---|---|
Constructors | ||
MaterialSpecularThinGlassModelFeature() | Initializes a new instance of the MaterialSpecularThinGlassModelFeature class. |
|
Properties | ||
RefractiveIndex | Gets or sets the refractive index of the material. |
|
Methods | ||
Equals(MaterialSpecularThinGlassModelFeature) | ||
GenerateShader(MaterialGeneratorContext) | ||
MultipassGeneration(MaterialGeneratorContext) |
Constructors
MaterialSpecularThinGlassModelFeature()
Initializes a new instance of the MaterialSpecularThinGlassModelFeature class.
public MaterialSpecularThinGlassModelFeature()
Properties
RefractiveIndex
Gets or sets the refractive index of the material.
[DataMember(2)]
[DataMemberRange(1, 5, 0.01, 0.1, 3)]
public float RefractiveIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The alpha. |
Methods
Equals(MaterialSpecularThinGlassModelFeature)
public bool Equals(MaterialSpecularThinGlassModelFeature other)
Parameters
Type | Name | Description |
---|---|---|
MaterialSpecularThinGlassModelFeature | other |
Returns
Type | Description |
---|---|
System.Boolean |
GenerateShader(MaterialGeneratorContext)
public override void GenerateShader(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |
Overrides
MultipassGeneration(MaterialGeneratorContext)
public override void MultipassGeneration(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |