Crate bevy_spine
source ·Expand description
A Bevy 0.10 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 blend modes.
- Events related to textures loaded by Spine.
Structs
- Bevy asset for
rusty_spine::Atlas
, loaded from.atlas
files. - 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.skel
files. - See
rusty_spine
docs for more info. - Bevy asset for
rusty_spine::SkeletonData
, loaded asynchronously fromAtlas
and a skeleton (eitherSkeletonJson
orSkeletonBinary
). - Bevy asset for
rusty_spine::SkeletonJson
, loaded from.json
files. - A live Spine
SkeletonController
[Component
], ready to be manipulated. - When loaded, a
Spine
entity 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 [
Mesh
] components for Spine rendering. - Add Spine support to Bevy!
- An [
Event
] which is sent once aSpineLoader
has fully loaded a skeleton and attached theSpine
component. - A plugin for synchronizing
SpineBone
components with a rig.
Enums
- 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 liveSpine
component. - Helper sets for interacting with Spine systems.
- Generic synchronization set. See
SpineSyncSet
for example usage. - System sets for Spine systems.
Traits
Functions
- Synchronizes Spine skeleton bones to
SpineBone
transforms. - Synchronizes
SpineBone
transforms to the Spine skeleton bone transforms. - Synchronizes
SpineBone
transforms with the final, applied Spine bones transforms.
Type Definitions
- The default
SpineSynchronizerSet
, see that struct for more docs. - The default
SpineSynchronizerSystem
, see that struct for more docs.