Documentation

Unity Engine

Unity Engine

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 a month ago

Definition

public bool enablePostProcessor { get; set; }