Constructor

new()

Variables

animations:Array<Animation> = new Array<Animation>()

bones:Array<BoneData> = new Array<BoneData>()

events:Array<EventData> = new Array<EventData>()

ikConstraints:Array<IkConstraintData> = new Array<IkConstraintData>()

name:String

May be null.

pathConstraints:Array<PathConstraintData> = new Array<PathConstraintData>()

skins:Array<Skin> = new Array<Skin>()

slots:Array<SlotData> = new Array<SlotData>()

transformConstraints:Array<TransformConstraintData> = new Array<TransformConstraintData>()

Methods

findAnimation(animationName:String):Animation

Returns:

May be null.

findBone(boneName:String):BoneData

Returns:

May be null.

findBoneIndex(boneName:String):Int

Returns:

-1 if the bone was not found.

findEvent(eventName:String):EventData

Returns:

May be null.

findIkConstraint(constraintName:String):IkConstraintData

Returns:

May be null.

findPathConstraint(constraintName:String):PathConstraintData

Returns:

May be null.

findPathConstraintIndex(pathConstraintName:String):Int

Returns:

-1 if the path constraint was not found.

findSkin(skinName:String):Skin

Returns:

May be null.

findSlot(slotName:String):SlotData

Returns:

May be null.

findSlotIndex(slotName:String):Int

Returns:

-1 if the bone was not found.

findTransformConstraint(constraintName:String):TransformConstraintData

Returns:

May be null.

findTransformConstraintIndex(transformConstraintName:String):Int

Returns:

-1 if the transform constraint was not found.