enablePostProcessor
When set to true, the AssetPostprocessor hooks will be called during texture generation. The following will hold for any AssetPostprocessors triggered through TextureGenerator.GenerateTexture - When the postprocessor is invoked AssetPostprocessor.assetPath will be set to the assetPath value in this structure. - The value of AssetPostprocessor.context will be set to null. - Only OnPostprocessTexture, OnPostprocessCubemap,... is called. The OnPreprocessTexture functions are not called.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor.CoreModule
public bool enablePostProcessor { get; set; }