AssetPreviewAttribute
- Namespace: Turian
- Source File: AssetPreviewAttribute.cs
Registers an IAssetPreviewProvider implementation for an asset type. The provider is resolved by the editor to render the Inspector's mini preview and, later, asset browser thumbnails.
Remarks
The attribute is available to user code so plugins can define previews for their own asset types without any editor project dependency (only the engine is referenced).
Properties
AssetType
(Type) = assetType: The asset type this provider knows how to preview.