MaterialBlendLayer Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
A material blend layer
System.Object →
MaterialBlendLayer
Derived from MaterialBlendLayer:
[DataContract("MaterialBlendLayer")]
[Display("Material Layer", null)]
public class MaterialBlendLayer : IMaterialShaderGenerator
Name | Description | |
---|---|---|
Constructors | ||
MaterialBlendLayer() | Initializes a new instance of the MaterialBlendLayer class. |
|
Properties | ||
BlendMap | Gets or sets the blend map. |
|
Enabled | Gets or sets a value indicating whether this MaterialBlendLayer is enabled. |
|
Material | Gets or sets the material. |
|
Name | Gets or sets the name of this blend layer. |
|
Overrides | Gets or sets the material overrides. |
|
Methods | ||
Visit(MaterialGeneratorContext) |
Constructors
MaterialBlendLayer()
Initializes a new instance of the MaterialBlendLayer class.
public MaterialBlendLayer()
Properties
BlendMap
Gets or sets the blend map.
[Display("Blend Map", null)]
[DataMember(40)]
[DataMemberRange(0, 1, 0.01, 0.1, 2)]
public IComputeScalar BlendMap { get; set; }
Property Value
Type | Description |
---|---|
IComputeScalar | The blend map. |
Enabled
Gets or sets a value indicating whether this MaterialBlendLayer is enabled.
[DataMember(10)]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Material
Gets or sets the material.
[DataMember(30)]
public Material Material { get; set; }
Property Value
Type | Description |
---|---|
Material | The material. |
Name
Gets or sets the name of this blend layer.
[DataMember(20)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name. |
Overrides
Gets or sets the material overrides.
[DataMember(50)]
[Display("Overrides", null)]
public MaterialOverrides Overrides { get; }
Property Value
Type | Description |
---|---|
MaterialOverrides | The overrides. |
Methods
Visit(MaterialGeneratorContext)
public virtual void Visit(MaterialGeneratorContext context)
Parameters
Type | Name | Description |
---|---|---|
MaterialGeneratorContext | context |