|
|
| Animation (std::span< const uint8_t > data) |
| | Parses the binary .tanim representation.
|
| auto | type () const -> std::string_view override |
|
auto | clips () const noexcept -> const std::vector< AnimationClip > & |
|
auto | skins () const noexcept -> const std::vector< Skin > & |
| auto | findClip (std::string_view name) const -> const AnimationClip * |
|
| Asset (const Asset &)=delete |
|
auto | operator= (const Asset &) -> Asset &=delete |
|
auto | refCount () const noexcept -> uint32_t |
A set of clips plus the skins they pose.
The format holds many clips, but the importer writes one per file so each is its own asset in the browser. Every file carries the skins too, so any one can pose the skeleton alone - and a glTF with skins but no animations still produces a clip-less file for MeshNode::skin_animation to point at