Crate bevy_spine
source ·Expand description
A Bevy 0.13 plugin for Spine 4.1
Add SpinePlugin to your Bevy app and spawn a SpineBundle to get started!
Re-exports§
pub use rusty_spine;
Modules§
- Materials for Spine meshes.
- Events related to textures loaded by Spine.
Structs§
- Bevy asset for
rusty_spine::Atlas, loaded from.atlasfiles. - RGBA F32 color that is byte-compatible with the Spine runtime.
- Crossfade data to apply to
rusty_spine::AnimationStateData. Allows automated crossfading between animations. - Bevy asset for
rusty_spine::SkeletonBinary, loaded from.skelfiles. - See
rusty_spinedocs for more info. - Bevy asset for
rusty_spine::SkeletonData, loaded asynchronously fromAtlasand a skeleton (eitherSkeletonJsonorSkeletonBinary). - Bevy asset for
rusty_spine::SkeletonJson, loaded from.jsonfiles. - A live Spine
SkeletonControllerComponent, ready to be manipulated. - When loaded, a
Spineentity has children entities attached to it, each containing this component. - Bundle for Spine skeletons with all the necessary components.
- Marker component for child entities containing
Meshcomponents for Spine rendering. - Add Spine support to Bevy!
- An
Eventwhich is sent once aSpineLoaderhas fully loaded a skeleton and attached theSpinecomponent. - Settings for how this Spine updates and renders.
- A plugin for synchronizing
SpineBonecomponents with a rig.
Enums§
- Drawer methods to use in
SpineSettings. - A Spine event fired from a playing animation.
- The async loader for Spine assets. Waits for Spine assets to be ready in the
AssetServer, then initializes child entities, and finally attaches the liveSpinecomponent. - The state of this
SpineMesh. - Mesh types to use in
SpineSettings. - Helper sets for interacting with Spine systems.
- Generic synchronization set. See
SpineSyncSetfor example usage. - System sets for Spine systems.
Traits§
Functions§
- Synchronizes Spine skeleton bones to
SpineBonetransforms. - Synchronizes
SpineBonetransforms to the Spine skeleton bone transforms. - Synchronizes
SpineBonetransforms with the final, applied Spine bones transforms.
Type Aliases§
- The default
SpineSynchronizerSet, see that struct for more docs. - The default
SpineSynchronizerSystem, see that struct for more docs.