MaterialOverrides Class
Namespace: Stride.Rendering.MaterialsAssembly: Stride.Rendering.dll
Material overrides used in a MaterialBlendLayer
System.Object →
MaterialOverrides
Derived from MaterialOverrides:
[DataContract("MaterialOverrides")]
[Display("Layer Overrides", null)]
public class MaterialOverrides
| Name | Description | |
|---|---|---|
| Constructors | ||
| MaterialOverrides() | Initializes a new instance of the MaterialOverrides class. |
|
| Properties | ||
| UVScale | Gets or sets the scale u and v. |
|
| Operators | ||
| Multiply(MaterialOverrides, MaterialOverrides) | Implements the multiply operator in order to support correct calculation of overrides for a particular layer. |
|
Constructors
MaterialOverrides()
Initializes a new instance of the MaterialOverrides class.
public MaterialOverrides()
Properties
UVScale
Gets or sets the scale u and v.
[DataMember(80)]
[Display("UV Scale", null)]
public Vector2 UVScale { get; set; }
Property Value
| Type | Description |
|---|---|
| Vector2 | The scale u. |
Operators
Multiply(MaterialOverrides, MaterialOverrides)
Implements the multiply operator in order to support correct calculation of overrides for a particular layer.
public static MaterialOverrides operator *(MaterialOverrides left, MaterialOverrides right)
Parameters
| Type | Name | Description |
|---|---|---|
| MaterialOverrides | left | The left. |
| MaterialOverrides | right | The right. |
Returns
| Type | Description |
|---|---|
| MaterialOverrides | The result of the operator. |