docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MaterialOverrideAsset.OverrideData

    Represents a data container of material override properties.

    Namespace: Global Namespace
    Assembly: Unity.Entities.Graphics.dll
    Syntax
    [Serializable]
    public struct MaterialOverrideAsset.OverrideData

    Fields

    displayName

    The display name of the material property.

    Declaration
    public string displayName
    Field Value
    Type Description
    string

    instanceOverride

    Instance override.

    Declaration
    public bool instanceOverride
    Field Value
    Type Description
    bool

    materialName

    The name of the material.

    Declaration
    public string materialName
    Field Value
    Type Description
    string

    name

    The in-shader name of the material property.

    Declaration
    public string name
    Field Value
    Type Description
    string

    shaderName

    The name of the shader.

    Declaration
    public string shaderName
    Field Value
    Type Description
    string

    type

    The type of the shader property.

    Declaration
    public ShaderPropertyType type
    Field Value
    Type Description
    ShaderPropertyType

    value

    The override value of the material property.

    Declaration
    public Vector4 value
    Field Value
    Type Description
    Vector4
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)