Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Creates an asset information snapshot.

API: scripting
Project: Inno.Assets
Scope: Runtime

public InnoEngine.Assets.AssetInfo.AssetInfo(System.Guid persistentId, InnoEngine.Assets.AssetPath assetPath, InnoEngine.Assets.AssetSourceKind sourceKind, InnoEngine.Assets.AssetImportStatus status, string importerId, System.Guid stableAssetTypeId, InnoEngine.Assets.AssetArtifactKey artifactKey, InnoEngine.Assets.AssetArtifactKey lastSuccessfulArtifactKey, System.Collections.Generic.IReadOnlyList<string>? diagnostics = null)

Parameter persistentId: Persistent identity assigned to the source asset.

Parameter assetPath: Current isolated source path.

Parameter sourceKind: Whether the catalog entry represents a file or directory.

Parameter status: Current import status.

Parameter importerId: Stable importer identifier, or an empty value when none applies.

Parameter stableAssetTypeId: Stable imported asset type identity.

Parameter artifactKey: Current committed artifact key.

Parameter lastSuccessfulArtifactKey: Most recent successfully imported artifact key.

Parameter diagnostics: Latest import diagnostics, or null for none.

Exception T:System.ArgumentException: Thrown when assetPath is invalid.