spine

..
attachments
support
utils
AlphaTimeline

Changes the alpha for a slot's {@link Slot#getColor()}.

Animation

Stores a list of timelines to animate a skeleton's pose over time.

AnimationState

Applies animations over time, queues animations for later playback, mixes (crossfading) between animations, and applies multiple animations on top of each other (layering).

See Applying Animations in the Spine Runtimes Guide.

AnimationStateAdapter

AnimationStateData

Stores mix (crossfade) durations to be applied when {@link AnimationState} animations are changed.

AnimationStateDataKey

AnimationStateListener

The interface to implement for receiving TrackEntry events. It is always safe to call AnimationState methods when receiving events.

See TrackEntry {@link TrackEntry#setListener(AnimationStateListener)} and AnimationState {@link AnimationState#addListener(AnimationStateListener)}.

AttachmentTimeline

Changes a slot's {@link Slot#getAttachment()}.

BlendMode

Determines how images are blended with existing pixels when drawn.

BlendMode_enum

Bone

Stores a bone's current pose.

A bone has a local transform which is used to compute its world transform. A bone also has an applied transform, which is a local transform that can be applied to compute the world transform. The local transform and applied transform may differ if a constraint or application code modifies the world transform after it was computed from the local transform.

BoneData

Stores the setup pose for a {@link Bone}.

BoneTimeline

An interface for timelines which change the property of a bone.

ConstraintData

The base class for all constraint datas.

CurveTimeline

The base class for timelines that interpolate between frame values using stepped, linear, or a Bezier curve.

CurveTimeline1

The base class for a {@link CurveTimeline} that sets one property.

CurveTimeline2

The base class for a {@link CurveTimeline} which sets two properties.

DeformTimeline

Changes a slot's {@link Slot#getDeform()} to deform a {@link VertexAttachment}.

DrawOrderTimeline

Changes a skeleton's {@link Skeleton#getDrawOrder()}.

Event

Stores the current pose values for an {@link Event}.

See Timeline {@link Timeline#apply(Skeleton, float, float, com.badlogic.gdx.utils.Array, float, com.esotericsoftware.spine.Animation.MixBlend, com.esotericsoftware.spine.Animation.MixDirection)}, AnimationStateListener {@link AnimationStateListener#event(com.esotericsoftware.spine.AnimationState.TrackEntry, Event)}, and Events in the Spine User Guide.

EventData

Stores the setup pose values for an {@link Event}.

See Events in the Spine User Guide.

EventQueue

EventTimeline

Fires an {@link Event} when specific animation times are reached.

EventType

EventType_enum

IkConstraint

Stores the current pose for an IK constraint. An IK constraint adjusts the rotation of 1 or 2 constrained bones so the tip of the last bone is as close to the target bone as possible.

See IK constraints in the Spine User Guide.

IkConstraintData

Stores the setup pose for an {@link IkConstraint}.

See IK constraints in the Spine User Guide.

IkConstraintTimeline

Changes an IK constraint's {@link IkConstraint#getMix()}, {@link IkConstraint#getSoftness()}, {@link IkConstraint#getBendDirection()}, {@link IkConstraint#getStretch()}, and {@link IkConstraint#getCompress()}.

LinkedMesh

MixBlend

Controls how timeline values are mixed with setup pose values or current pose values when a timeline is applied with alpha < 1.

See Timeline {@link Timeline#apply(Skeleton, float, float, Array, float, MixBlend, MixDirection)}.

MixBlend_enum

MixDirection

Indicates whether a timeline's alpha is mixing out over time toward 0 (the setup or current pose value) or mixing in toward 1 (the timeline's value). Some timelines use this to decide how values are applied.

See Timeline {@link Timeline#apply(Skeleton, float, float, Array, float, MixBlend, MixDirection)}.

MixDirection_enum

PathConstraint

Stores the current pose for a path constraint. A path constraint adjusts the rotation, translation, and scale of the constrained bones so they follow a {@link PathAttachment}.

See Path constraints in the Spine User Guide.

PathConstraintData

Stores the setup pose for a {@link PathConstraint}.

See Path constraints in the Spine User Guide.

PathConstraintMixTimeline

Changes a transform constraint's {@link PathConstraint#getMixRotate()}, {@link PathConstraint#getMixX()}, and {@link PathConstraint#getMixY()}.

PathConstraintPositionTimeline

Changes a path constraint's {@link PathConstraint#getPosition()}.

PathConstraintSpacingTimeline

Changes a path constraint's {@link PathConstraint#getSpacing()}.

PositionMode

Controls how the first bone is positioned along the path.

See Position mode in the Spine User Guide.

PositionMode_enum

Property

Property_enum

RGB2Timeline

Changes the RGB for a slot's {@link Slot#getColor()} and {@link Slot#getDarkColor()} for two color tinting.

RGBA2Timeline

Changes a slot's {@link Slot#getColor()} and {@link Slot#getDarkColor()} for two color tinting.

RGBATimeline

Changes a slot's {@link Slot#getColor()}.

RGBTimeline

Changes the RGB for a slot's {@link Slot#getColor()}.

RotateMode

Controls how bones are rotated, translated, and scaled to match the path.

See Rotate mode in the Spine User Guide.

RotateMode_enum

RotateTimeline

Changes a bone's local {@link Bone#getRotation()}.

ScaleTimeline

Changes a bone's local {@link Bone#getScaleX()} and {@link Bone#getScaleY()}.

ScaleXTimeline

Changes a bone's local {@link Bone#getScaleX()}.

ScaleYTimeline

Changes a bone's local {@link Bone#getScaleY()}.

ShearTimeline

Changes a bone's local {@link Bone#getShearX()} and {@link Bone#getShearY()}.

ShearXTimeline

Changes a bone's local {@link Bone#getShearX()}.

ShearYTimeline

Changes a bone's local {@link Bone#getShearY()}.

Skeleton

Stores the current pose for a skeleton.

See Instance objects in the Spine Runtimes Guide.

SkeletonBounds

Collects each visible {@link BoundingBoxAttachment} and computes the world vertices for its polygon. The polygon vertices are provided along with convenience methods for doing hit detection.

SkeletonData

Stores the setup pose and all of the stateless data for a skeleton.

See Data objects in the Spine Runtimes Guide.

SkeletonJson

Loads skeleton data in the Spine JSON format.

JSON is human readable but the binary format is much smaller on disk and faster to load. See {@link SkeletonBinary}.

See Spine JSON format and JSON and binary data in the Spine Runtimes Guide.

SkeletonLoader

Base class for loading skeleton data from a file.

See JSON and binary data in the Spine Runtimes Guide.

Skin

Stores attachments by slot index and attachment name.

See SkeletonData {@link SkeletonData#defaultSkin}, Skeleton {@link Skeleton#skin}, and Runtime skins in the Spine Runtimes Guide.

SkinEntry

Stores an entry in the skin consisting of the slot index and the attachment name.

Slot

Stores a slot's current pose. Slots organize attachments for {@link Skeleton#drawOrder} purposes and provide a place to store state for an attachment. State cannot be stored in an attachment itself because attachments are stateless and may be shared across multiple skeletons.

SlotData

Stores the setup pose for a {@link Slot}.

SlotTimeline

An interface for timelines which change the property of a slot.

SpacingMode

Controls how bones after the first bone are positioned along the path.

See Spacing mode in the Spine User Guide.

SpacingMode_enum

Timeline

The base class for all timelines.

TrackEntry

Stores settings and other state for the playback of an animation on an {@link AnimationState} track.

References to a track entry must not be kept after the {@link AnimationStateListener#dispose(TrackEntry)} event occurs.

TransformConstraint

Stores the current pose for a transform constraint. A transform constraint adjusts the world transform of the constrained bones to match that of the target bone.

See Transform constraints in the Spine User Guide.

TransformConstraintData

Stores the setup pose for a {@link TransformConstraint}.

See Transform constraints in the Spine User Guide.

TransformConstraintTimeline

Changes a transform constraint's {@link TransformConstraint#getMixRotate()}, {@link TransformConstraint#getMixX()}, {@link TransformConstraint#getMixY()}, {@link TransformConstraint#getMixScaleX()}, {@link TransformConstraint#getMixScaleY()}, and {@link TransformConstraint#getMixShearY()}.

TransformMode

Determines how a bone inherits world transforms from parent bones.

TransformMode_enum

TranslateTimeline

Changes a bone's local {@link Bone#getX()} and {@link Bone#getY()}.

TranslateXTimeline

Changes a bone's local {@link Bone#getX()}.

TranslateYTimeline

Changes a bone's local {@link Bone#getY()}.

Updatable

The interface for items updated by {@link Skeleton#updateWorldTransform()}.