docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MaterialUpgrader

    Material Upgrader class.

    Inheritance
    object
    MaterialUpgrader
    SpeedTree8MaterialUpgrader
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public class MaterialUpgrader

    Properties

    Name Description
    NewShaderPath

    Retrieves path to new shader.

    Methods

    Name Description
    Convert(Material, Material)

    Custom material conversion method.

    GetPropertyRenameMap(MaterialPropertyType)

    Retrieves a collection of renamed parameters of a specific MaterialPropertyType.

    ProjectFolderContainsNonBuiltinMaterials(List<MaterialUpgrader>)

    Checking if project folder contains any materials that are not using built-in shaders.

    RemoveTexture(string)

    Remove Texture Parameter.

    RenameColor(string, string)

    Rename Color Parameter.

    RenameFloat(string, string)

    Rename Float Parameter.

    RenameKeywordToFloat(string, string, float, float)

    Rename a keyword to float.

    RenameShader(string, string, MaterialFinalizer)

    Rename shader.

    RenameTexture(string, string)

    Rename Texture Parameter.

    SetColor(string, Color)

    Set color property.

    SetFloat(string, float)

    Set float property.

    SetTexture(string, Texture)

    Set texture property.

    Upgrade(Material, List<MaterialUpgrader>, UpgradeFlags)

    Upgrade a material.

    Upgrade(Material, List<MaterialUpgrader>, UpgradeFlags, ref string)

    Upgrade a material.

    Upgrade(Material, MaterialUpgrader, UpgradeFlags)

    Upgrade a material.

    Upgrade(Material, UpgradeFlags)

    Upgrade method.

    UpgradeProjectFolder(List<MaterialUpgrader>, HashSet<string>, string, UpgradeFlags)

    Upgrade the project folder.

    UpgradeProjectFolder(List<MaterialUpgrader>, string, UpgradeFlags)

    Upgrade the project folder.

    UpgradeSelection(List<MaterialUpgrader>, HashSet<string>, string, UpgradeFlags)

    Upgrade the selection.

    UpgradeSelection(List<MaterialUpgrader>, string, UpgradeFlags)

    Upgrade the selection.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)