Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetPostprocessor.OnPreprocessSpeedTree()

Switch to Manual

Description

Add this function in a subclass to get a notification just before a SpeedTree asset (.spm file) is imported.

This function behaves much like OnPreprocessModel where you can control the SpeedTree asset import settings through code.