Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Stores asset browser navigation independently from global object selection.

API: scripting
Inherits: object
Project: Inno.Editor.Assets.ImGui
Scope: Editor

public sealed class InnoEditor.Assets.AssetBrowserState
Kind Element Description
Constructors AssetBrowserState.Constructor Appears in the generated script reference without a matching public or protected engine constructor.
Methods AssetBrowserState.GetDirectory Gets the last visited isolated directory for a navigation root.
Methods AssetBrowserState.GetSelectedPath Gets the selected asset path when the editor-wide target belongs to the Asset Browser.
Methods AssetBrowserState.IsSelected Checks whether the source entry belongs to the current asset selection.
Methods AssetBrowserState.Select Selects an asset path through the editor-wide selection state, or clears Asset selection.
Methods AssetBrowserState.SetCurrentDirectory Sets the current Asset Browser directory and infers its root from the isolated source identity.
Methods AssetBrowserState.SetLocation Changes the displayed source root and its isolated navigation directory.
Methods AssetBrowserState.SetRoot Switches the displayed root while preserving the last directory visited in each root.
Methods AssetBrowserState.ToggleSelection Adds or removes an asset from the current selection without retaining runtime asset objects.
Properties AssetBrowserState.currentDirectory Gets the current directory inside P:InnoEditor.Assets.AssetBrowserState.root. An empty value identifies that root’s overview.
Properties AssetBrowserState.projectDirectory Gets the most recently visited writable project directory, independently of the displayed root.
Properties AssetBrowserState.root Gets the root currently displayed by the Asset Browser.