Class ParticleUpgrader
Upgrader for particle materials.
Inherited Members
MaterialUpgrader.NewShaderPath
MaterialUpgrader.GetPropertyRenameMap(MaterialUpgrader.MaterialPropertyType)
Namespace: UnityEditor.Rendering.Universal
Assembly: Unity.RenderPipelines.Universal.Editor.dll
Syntax
public class ParticleUpgrader : MaterialUpgrader
Constructors
ParticleUpgrader(string)
Constructor for the particle upgrader.
Declaration
public ParticleUpgrader(string oldShaderName)
Parameters
Type | Name | Description |
---|---|---|
string | oldShaderName | The name of the old shader. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException |
Methods
UpdateStandardSurface(Material)
Updates the standard shader surface properties.
Declaration
public static void UpdateStandardSurface(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material |
UpdateSurfaceBlendModes(Material)
Updates the blending mode properties.
Declaration
public static void UpdateSurfaceBlendModes(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material |
UpdateUnlit(Material)
Updates the unlit shader properties.
Declaration
public static void UpdateUnlit(Material material)
Parameters
Type | Name | Description |
---|---|---|
Material | material |