Synced
AssetLoader.GetImportSettings
Section titled “AssetLoader.GetImportSettings”
- Reads a detached importer settings value without changing source metadata.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public Inno.Assets.Pipeline.AssetImportSettingsSnapshot Inno.Assets.Pipeline.AssetLoader.GetImportSettings(Inno.Assets.AssetPath path)Parameters
Section titled “Parameters”Parameter path: The isolated source path, not its sidecar path.
Returns
Section titled “Returns”The current settings and the metadata fingerprint required for a subsequent save.
Exceptions
Section titled “Exceptions”Exception T:System.NotSupportedException: The source has no registered importer.
Exception T:System.IO.InvalidDataException: The persisted settings cannot be restored by the current importer.