Class SpeedTree8MaterialUpgrader
Material upgrader and relevant utilities for SpeedTree 8.
Inherited Members
Namespace: UnityEditor .Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class SpeedTree8MaterialUpgrader : MaterialUpgrader
Constructors
Name | Description |
---|---|
Speed |
Creates a material upgrader that handles the property renames that HD and Universal have in common when upgrading from the built-in SpeedTree 8 shader. |
Methods
Name | Description |
---|---|
Does |
Returns true if the material contains a SpeedTree Wind keyword. |
Is |
Checks the material for SpeedTree keywords to determine if the wind is enabled. |
Postprocess |
Postprocesses materials while you are importing a SpeedTree 8 asset. Call from OnPostprocessSpeedTree in a MaterialPostprocessor. |
Speed |
Preserves wind quality and billboard settings while you are upgrading a SpeedTree 8 material from previous versions of SpeedTree 8. Wind priority order is _WindQuality float value > enabled keyword. Should work for upgrading versions within a pipeline and from standard to current pipeline. |