Synced
AssetEditingModule.TryCreateContext
Section titled “AssetEditingModule.TryCreateContext”
- Captures the currently indexed source and extension metadata for one immediate operation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets
Declaration
Section titled “Declaration”public bool Inno.Editor.Assets.AssetEditingModule.TryCreateContext(Inno.Editor.Core.EditorContext editor, string relativePath, out Inno.Editor.Assets.AssetEditorContext? context)Parameters
Section titled “Parameters”Parameter editor: The current editor context used only during this invocation.
Parameter relativePath: The isolated source-relative path to resolve.
Parameter context: Receives the current source snapshot, or null when the source is unavailable.
Returns
Section titled “Returns”True when the request is accepted; otherwise false.