Slot class

Stores a slot's current pose. Slots organize attachments for 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.

Implemented types

Constructors

Slot(SlotData data, Skeleton skeleton)
factory
Slot.fromPointer(Pointer<spine_slot_wrapper> _ptr)

Properties

appliedPose SlotPose
no setter
bone Bone
The bone this slot belongs to.
no setter
data SlotData
The constraint's setup pose data.
no setter
hashCode int
The hash code for this object.
no setterinherited
isPoseEqualToApplied bool
no setteroverride
nativePtr → Pointer<NativeType>
Get the native pointer for FFI calls
no setteroverride
pose SlotPose
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

constrained() → void
override
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetConstrained() → void
override
setupPose() → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited