Inno.Animation.Assets
Section titled “Inno.Animation.Assets”
- Import and export validated structured animation sources through shared serialization.
The animation importer reads and writes the current .ianim structured source format. It belongs to authoring; player composition consumes the neutral animation contract, runtime and frozen artifacts without this importer.
Structured source workflow
Section titled “Structured source workflow”AnimationClipImporter is discovered through its asset-importer declaration. Import uses the generation-bound serialization services supplied by the asset context, constructs the clip, validates it and stages an immutable artifact named runtime. Export validates the clip and serializes the corresponding source through the same context.
This is the shared structured serialization system, not a separate JSON side channel. Do not hand-author a second wire format simply because the extension is a text-like name. Source writing still requires an appropriate writable source mount and asset export context.
Import and export contract
Section titled “Import and export contract”Invalid duration, unordered keyframes or markers, duplicate binding tracks, incompatible value kinds and empty marker event IDs cause explicit validation failure. A failed candidate is not a valid imported clip. Export observes cancellation before returning complete source bytes; import passes cancellation to artifact staging.
An authoring clip is mutable configuration. Playback validates it again and freezes its own arrays and marker payloads. A later source edit therefore requires a new playback snapshot rather than mutating the current one implicitly.
API reference
Section titled “API reference”The importer reference retains its public type and protected import/export extension contracts. Play clips explains the runtime side of the same data model.
Browse animation importer types.
Source project facts
Section titled “Source project facts”Project: Inno.Animation.Assets
Source: src/content/animation/Inno.Animation.Assets/Inno.Animation.Assets.csproj
| Type | API | Description |
|---|---|---|
| AnimationClipImporter | engine | Imports and exports structured .ianim animation clip sources. |