Expand description
A Bevy plugin for Spine 4.2
Add SpinePlugin
to your Bevy app and spawn a SpineBundle
to get started!
Re-exports§
pub use rusty_spine;
Modules§
Structs§
- Atlas
- Bevy asset for
rusty_spine::Atlas
, loaded from.atlas
files. - Color
- RGBA F32 color that is byte-compatible with the Spine runtime.
- Crossfades
- Crossfade data to apply to
rusty_spine::AnimationStateData
. Allows automated crossfading between animations. - Skeleton
Binary - Bevy asset for
rusty_spine::SkeletonBinary
, loaded from.skel
files. - Skeleton
Controller - See
rusty_spine
docs for more info. - Skeleton
Data - Bevy asset for
rusty_spine::SkeletonData
, loaded asynchronously fromAtlas
and a skeleton (eitherSkeletonJson
orSkeletonBinary
). - Skeleton
Json - Bevy asset for
rusty_spine::SkeletonJson
, loaded from.json
files. - Spine
- A live Spine
SkeletonController
Component
, ready to be manipulated. - Spine
Bone - When loaded, a
Spine
entity has children entities attached to it, each containing this component. - Spine
Bone Parent - Spine
Bundle - Bundle for Spine skeletons with all the necessary components.
- Spine
Mesh - Marker component for child entities containing
Mesh
components for Spine rendering. - Spine
Meshes - Spine
Plugin - Add Spine support to Bevy!
- Spine
Ready Event - An
Event
which is sent once aSpineLoader
has fully loaded a skeleton and attached theSpine
component. - Spine
Settings - Settings for how this Spine updates and renders.
- Spine
Sync - A
Component
which synchronizes child (bone) entities to to aSpine
rig (seeSpineBone
). - Spine
Synchronizer Plugin - A plugin for synchronizing
SpineBone
components with a rig.
Enums§
- Skeleton
Data Kind - Skeleton
Data Status - Skeleton
Renderable Kind - Spine
Drawer - Drawer methods to use in
SpineSettings
. - Spine
Event - A Spine event fired from a playing animation.
- Spine
Loader - 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. - Spine
Loader Error - Spine
Mesh State - The state of this
SpineMesh
. - Spine
Mesh Type - Mesh types to use in
SpineSettings
. - Spine
Set - Helper sets for interacting with Spine systems.
- Spine
Synchronizer Set - Generic synchronization set. See
SpineSyncSet
for example usage. - Spine
Synchronizer System - Spine
System - System sets for Spine systems.
Traits§
Functions§
- spine_
sync_ bones - Synchronizes Spine skeleton bones to
SpineBone
transforms. - spine_
sync_ entities - Synchronizes
SpineBone
transforms to the Spine skeleton bone transforms. - spine_
sync_ entities_ applied - Synchronizes
SpineBone
transforms with the final, applied Spine bones transforms.
Type Aliases§
- Spine
Sync Set - The default
SpineSynchronizerSet
, see that struct for more docs. - Spine
Sync System - The default
SpineSynchronizerSystem
, see that struct for more docs.