docs.unity3d.com
    Show / Hide Table of Contents

    Struct MaterialOverrideAsset.OverrideData

    Represents a data container of material override properties.

    Namespace: Global Namespace
    Syntax
    [Serializable]
    public struct 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
    Boolean

    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 sahder.

    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023