Class SpeedTree9MaterialUpgrader
Material upgrader and relevant utilities for SpeedTree 9.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public class SpeedTree9MaterialUpgrader : MaterialUpgrader
Methods
PostprocessSpeedTree9Materials(GameObject, MaterialFinalizer)
Postprocesses materials while you are importing a SpeedTree 9 asset. Call from OnPostprocessSpeedTree in a MaterialPostprocessor.
Declaration
protected static void PostprocessSpeedTree9Materials(GameObject speedtree, MaterialUpgrader.MaterialFinalizer finalizer = null)
Parameters
Type | Name | Description |
---|---|---|
GameObject | speedtree | The GameObject Unity creates from this imported SpeedTree. |
MaterialUpgrader.MaterialFinalizer | finalizer | Render pipeline-specific material finalizer. |