Class ASDImporter
This class is responsible to import materials from Analytical Spectrum Distribution website : https://crustal.usgs.gov/speclab/QueryAll07a.php
Inherited Members
UnityEditor.AssetImporter.AddRemap(UnityEditor.AssetImporter.SourceAssetIdentifier, UnityEngine.Object)
UnityEditor.AssetImporter.RemoveRemap(UnityEditor.AssetImporter.SourceAssetIdentifier)
UnityEditor.AssetImporter.assetTimeStamp
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Global Namespace
Syntax
[ScriptedImporter(1, "asd")]
public class ASDImporter : ScriptedImporter
Methods
OnImportAsset(AssetImportContext)
Take the reflectance over wavelength and store it into a Texture2D
Declaration
public override void OnImportAsset(AssetImportContext ctx)
Parameters
Type | Name | Description |
---|---|---|
AssetImportContext | ctx | Current context to store the import ouput. |