Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Collects the complete candidate output of one source import.

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

public sealed class InnoEditor.Assets.AssetImportWriter<TAsset> where TAsset : InnoEngine.Assets.AssetObject

Type parameter TAsset: The imported asset type.

Kind Element Description
Constructors AssetImportWriter<TAsset>.Constructor Appears in the generated script reference without a matching public or protected engine constructor.
Methods AssetImportWriter<TAsset>.DependsOnArtifact Declares an asset artifact input that invalidates this import.
Methods AssetImportWriter<TAsset>.DependsOnAsset(InnoEngine.Assets.AssetDependency) Declares a runtime dependency by persistent descriptor.
Methods AssetImportWriter<TAsset>.DependsOnAsset(InnoEngine.Assets.AssetPath) Declares a runtime dependency by isolated source path.
Methods AssetImportWriter<TAsset>.DependsOnCustomInput Declares a custom deterministic import input.
Methods AssetImportWriter<TAsset>.DependsOnSource Declares a source input that invalidates this import.
Methods AssetImportWriter<TAsset>.ReportDiagnostic Adds a non-fatal import diagnostic.
Methods AssetImportWriter<TAsset>.SetAsset Assigns the managed asset produced by the importer.
Methods AssetImportWriter<TAsset>.SetDeploymentScope Selects the deployment scope for this imported asset. This permits one importer to produce runtime assets and editor-only assets from different source documents without changing their asset type.
Methods AssetImportWriter<TAsset>.WriteArtifactAsync Writes one immutable named artifact output.
Properties AssetImportWriter<TAsset>.asset Gets the candidate asset assigned by the importer.