Method PostprocessSpeedTree8Materials
PostprocessSpeedTree8Materials(GameObject, SpeedTreeImporter, MaterialFinalizer)
Postprocesses materials while you are importing a SpeedTree 8 asset. Call from OnPostprocessSpeedTree in a MaterialPostprocessor.
Declaration
public static void PostprocessSpeedTree8Materials(GameObject speedtree, SpeedTreeImporter stImporter, MaterialUpgrader.MaterialFinalizer finalizer = null)
Parameters
Type | Name | Description |
---|---|---|
GameObject | speedtree | The GameObject Unity creates from this imported SpeedTree. |
SpeedTreeImporter | stImporter | The asset importer used to import this SpeedTree asset. |
MaterialUpgrader.MaterialFinalizer | finalizer | Render pipeline-specific material finalizer. |