Crate rusty_spine

source ·
Expand description

Spine runtime for Rust (and wasm!) transpiled from the official C Runtime. Supports Spine 4.2.

For a very quick working example, see controller.

To load a Skeleton, see SkeletonJson or SkeletonBinary.

To load textures, see extension::set_create_texture_cb.

To set automatic mix durations (crossfading) between animations, see AnimationStateData.

To find and manage bones, see Bone.

To receive animation events, see AnimationState::set_listener.

Modules§

Structs§

Enums§

  • A wrapper for Event that makes events slightly nicer to work with in Rust.
  • The type variants of an Attachment.
  • The variants of blend modes supported by Spine.
  • The variants of event types.
  • The inherited transform for how bones are affected by their parents.
  • Determines how physics and other non-deterministic updates are applied.
  • Controls how the first bone is positioned along the path.
  • Controls how bones are rotated, translated, and scaled to match the path.
  • Controls how the first bone is positioned along the path.
  • Error types when interacting with the Spine runtime.