Crate bevy_spine

Source
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§

materials
Materials for Spine meshes.
textures
Events related to textures loaded by Spine.

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.
SkeletonBinary
Bevy asset for rusty_spine::SkeletonBinary, loaded from .skel files.
SkeletonController
See rusty_spine docs for more info.
SkeletonData
Bevy asset for rusty_spine::SkeletonData, loaded asynchronously from Atlas and a skeleton (either SkeletonJson or SkeletonBinary).
SkeletonJson
Bevy asset for rusty_spine::SkeletonJson, loaded from .json files.
Spine
A live Spine SkeletonController Component, ready to be manipulated.
SpineBone
When loaded, a Spine entity has children entities attached to it, each containing this component.
SpineBoneParent
SpineBundle
Bundle for Spine skeletons with all the necessary components.
SpineMesh
Marker component for child entities containing Mesh components for Spine rendering.
SpineMeshes
SpinePlugin
Add Spine support to Bevy!
SpineReadyEvent
An Event which is sent once a SpineLoader has fully loaded a skeleton and attached the Spine component.
SpineSettings
Settings for how this Spine updates and renders.
SpineSync
A Component which synchronizes child (bone) entities to to a Spine rig (see SpineBone).
SpineSynchronizerPlugin
A plugin for synchronizing SpineBone components with a rig.

Enums§

SkeletonDataKind
SkeletonDataStatus
SkeletonRenderableKind
SpineDrawer
Drawer methods to use in SpineSettings.
SpineEvent
A Spine event fired from a playing animation.
SpineLoader
The async loader for Spine assets. Waits for Spine assets to be ready in the AssetServer, then initializes child entities, and finally attaches the live Spine component.
SpineLoaderError
SpineMeshState
The state of this SpineMesh.
SpineMeshType
Mesh types to use in SpineSettings.
SpineSet
Helper sets for interacting with Spine systems.
SpineSynchronizerSet
Generic synchronization set. See SpineSyncSet for example usage.
SpineSynchronizerSystem
SpineSystem
System sets for Spine systems.

Traits§

SpineSynchronizer
See SpineSynchronizerPlugin.

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§

SpineSyncSet
The default SpineSynchronizerSet, see that struct for more docs.
SpineSyncSystem
The default SpineSynchronizerSystem, see that struct for more docs.