Class NoiseTemplateImporter
Asset importer for noise template files. Used to detect when a noise template is imported and checks to see if the shaders need to be regenerated.
Inheritance
System.Object
NoiseTemplateImporter
Namespace: UnityEditor.Experimental.TerrainAPI
Syntax
public class NoiseTemplateImporter : ScriptedImporter
Methods
OnImportAsset(AssetImportContext)
Function that is called when an asset with the ".noisehlsltemplate" extension is imported by the AssetDatabase
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx | The context for the imported asset |