Table of Contents

Class MaterialOverrides

Namespace
Stride.Rendering.Materials
Assembly
Stride.Rendering.dll

Material overrides used in a MaterialBlendLayer

[DataContract("MaterialOverrides")]
[Display("Layer Overrides", null)]
public class MaterialOverrides
Inheritance
MaterialOverrides

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

Vector2

The scale u.

Operators

operator *(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

left MaterialOverrides

The left.

right MaterialOverrides

The right.

Returns

MaterialOverrides

The result of the operator.