PathConstraintData class

Stores the setup pose for a PathConstraint.

See https://esotericsoftware.com/spine-path-constraints Path constraints in the Spine User Guide.

Inheritance
Implemented types

Properties

bones ArrayBoneData
The bones that will be modified by this path constraint.
no setter
hashCode int
The hash code for this object.
no setterinherited
name String
The constraint's name, which is unique across all constraints in the skeleton of the same type.
no setterinherited
nativePtr → Pointer<NativeType>
Get the native pointer for FFI calls
no setteroverride
offsetRotation double
An offset added to the constrained bone rotation.
getter/setter pair
positionMode PositionMode
The mode for positioning the first bone on the path.
getter/setter pair
rotateMode RotateMode
The mode for adjusting the rotation of the bones.
getter/setter pair
rtti Rtti
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setupPose PathConstraintPose
no setter
skinRequired bool
When true, Skeleton::updateWorldTransform(Physics) only updates this constraint if the Skeleton::getSkin() contains this constraint.
getter/setter pairinherited
slot SlotData
The slot whose path attachment will be used to constrained the bones.
getter/setter pair
spacingMode SpacingMode
The mode for positioning the bones after the first bone on the path.
getter/setter pair

Methods

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

Operators

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

Static Methods

rttiStatic() Rtti
override