ConstraintData

The base class for all constraint datas.

Instance Members

spine
name: String

spine
order: Int

spine
skinRequired: Bool

spine
getName(): String

The constraint's name, which is unique across all constraints in the skeleton of the same type.

Returns
String

spine
getOrder(): Int

The ordinal of this constraint for the order a skeleton's constraints will be applied by {@link Skeleton#updateWorldTransform()}.

Returns
Int

spine
setOrder(order: Int): Void
Name Type
order Int

spine
getSkinRequired(): Bool

When true, {@link Skeleton#updateWorldTransform()} only updates this constraint if the {@link Skeleton#getSkin()} contains this constraint.

See {@link Skin#getConstraints()}. | Returns | |---------| | [Bool](/api-docs/clay-native/Bool/) |


spine
setSkinRequired(skinRequired: Bool): Void
Name Type
skinRequired Bool

spine
toString(): String
Returns
String

spine
new(name: String): Void
Name Type
name String