The base class for all constraint datas.

Constructor

new(name:String)

Variables

@:value(0)order:Int = 0

@:value(false)skinRequired:Bool = false

Methods

getName():String

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

getOrder():Int

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

getSkinRequired():Bool

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

See {@link Skin#getConstraints()}.

setSkinRequired(skinRequired:Bool):Void