Synced
AnimationClipImporter.ImportAsync
Section titled “AnimationClipImporter.ImportAsync”
- Imports one validated structured animation clip.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Animation.Assets
Declaration
Section titled “Declaration”protected override System.Threading.Tasks.ValueTask Inno.Animation.Assets.AnimationClipImporter.ImportAsync(Inno.Assets.Pipeline.AssetImportContext context, Inno.Assets.Pipeline.AssetImportWriter<Inno.Animation.AnimationClipAsset> output, System.Threading.CancellationToken cancellationToken)Parameters
Section titled “Parameters”Parameter context: Candidate source bytes and serialization generation.
Parameter output: Writer that receives the clip and immutable runtime artifact.
Parameter cancellationToken: Token that cancels artifact staging.
Returns
Section titled “Returns”An operation that completes after the runtime artifact is staged.