Synced
AssetInfo.Constructor
Section titled “AssetInfo.Constructor”
- Creates an asset information snapshot.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets
Declaration
Section titled “Declaration”public Inno.Assets.AssetInfo.AssetInfo(System.Guid persistentId, Inno.Assets.AssetPath assetPath, Inno.Assets.AssetSourceKind sourceKind, Inno.Assets.AssetImportStatus status, string importerId, System.Guid stableAssetTypeId, Inno.Assets.AssetArtifactKey artifactKey, Inno.Assets.AssetArtifactKey lastSuccessfulArtifactKey, System.Collections.Generic.IReadOnlyList<string>? diagnostics = null)Parameters
Section titled “Parameters”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.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: Thrown when assetPath is invalid.