Class MaterialUpgrader
Inheritance
MaterialUpgrader
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class MaterialUpgrader
Properties
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