docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class EditorShaderUtilities

    Inheritance
    object
    EditorShaderUtilities
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: TMPro.EditorUtilities
    Assembly: Unity.TextMeshPro.Editor.dll
    Syntax
    public static class EditorShaderUtilities

    Methods

    CopyMaterialProperties(Material, Material)

    Copy Shader properties from source to destination material.

    Declaration
    public static void CopyMaterialProperties(Material source, Material destination)
    Parameters
    Type Name Description
    Material source
    Material destination
    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)