Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    MaterialOverrides Class

    Namespace: Stride.Rendering.Materials
    Assembly: 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.

    | Improve this Doc View Source

    Constructors


    MaterialOverrides()

    Initializes a new instance of the MaterialOverrides class.

    public MaterialOverrides()
    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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.


    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation