Synced
AssetBrowserModule.GetIcon
Section titled “AssetBrowserModule.GetIcon”
- Resolves the presentation icon registered for an asset type or source extension.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets.ImGui
Declaration
Section titled “Declaration”public string Inno.Editor.Assets.ImGui.AssetBrowserModule.GetIcon(Inno.Assets.Pipeline.AssetFileEntry entry)Parameters
Section titled “Parameters”Parameter entry: The source entry whose presentation icon should be resolved.
Returns
Section titled “Returns”The most specific registered icon, or the built-in directory or file icon when no registration matches the entry.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when entry is null.