OptionalcompileCompile a specified animation into animation file content
Animation to compile
Compiled subpart of an animation file
OptionalimportGiven a file input, imports the animations from the file into the current project, while adding undo entries and handling other logic
File to import
Optionalauto_loaded: booleanFor specific formats, set to true if the file was automatically loaded instead of based on explicit user input
OptionalloadLoad the animations from an animation file into the project. Not required on generic codecs
File to load
Optionalanimation_filter: string[]If specified, only animations with an ID in the list get imported
Set to true if multiple animations can be included per animation file
OptionalpickOpens a file picker to select and import animations using the codec
OptionalreloadReload a given animation from its file on disk
OptionalsaveSave the specified animation to its file. If no file exists, or save_as is true, this can open a file save dialog
Animation to save
Optionalsave_as: booleanIf true, pick a new location to save to
StaticcodecsStaticgetOptionalanimation: AnimationItem
AnimationCodecs serve as a way to bundle import and export functionality of a specific animation format in one place, that way completely different animation formats can be supported. When creating a new animation codec, add it to the respective ModelFormat as
animation_codec.