Method | Description | |
---|---|---|
FindBone ( String boneName ) : |
||
FindBoneIndex ( String boneName ) : int | ||
FindIkConstraint ( String constraintName ) : |
||
FindPathConstraint ( String constraintName ) : |
||
FindSlot ( String slotName ) : |
||
FindSlotIndex ( String slotName ) : int | ||
FindTransformConstraint ( String constraintName ) : |
||
GetAttachment ( String slotName, String attachmentName ) : |
||
GetAttachment ( int slotIndex, String attachmentName ) : |
||
SetAttachment ( String slotName, String attachmentName ) : void | ||
SetBonesToSetupPose ( ) : void |
Sets the bones and constraints to their setup pose values.
|
|
SetSkin ( Spine.Skin newSkin ) : void |
Sets the skin used to look up attachments before looking in the {@link SkeletonData#getDefaultSkin() default skin}. Attachmentsfrom the new skin are attached if the corresponding attachment from the old skin was attached. If there was no old skin, each slot's setup mode attachment is attached from the new skin.
|
|
SetSkin ( String skinName ) : void |
Sets a skin by name (see SetSkin).
|
|
SetSlotsToSetupPose ( ) : void | ||
SetToSetupPose ( ) : void |
Sets the bones, constraints, and slots to their setup pose values.
|
|
Skeleton ( |
||
Update ( float delta ) : void | ||
UpdateCache ( ) : void |
Caches information about bones and constraints. Must be called if bones, constraints or weighted path attachments are added or removed.
|
|
UpdateWorldTransform ( ) : void |
Updates the world transform for each bone and applies constraints.
|
Method | Description | |
---|---|---|
SortBone ( |
||
SortIkConstraint ( |
||
SortPathConstraint ( |
||
SortPathConstraintAttachment ( |
||
SortPathConstraintAttachment ( Spine.Skin skin, int slotIndex, |
||
SortReset ( ExposedList |
||
SortTransformConstraint ( |
public FindBoneIndex ( String boneName ) : int | ||
boneName | String | |
return | int |
public FindIkConstraint ( String constraintName ) : |
||
constraintName | String | |
return |
public FindPathConstraint ( String constraintName ) : |
||
constraintName | String | |
return |
public FindSlotIndex ( String slotName ) : int | ||
slotName | String | |
return | int |
public FindTransformConstraint ( String constraintName ) : |
||
constraintName | String | |
return |
public GetAttachment ( String slotName, String attachmentName ) : |
||
slotName | String | |
attachmentName | String | |
return |
public GetAttachment ( int slotIndex, String attachmentName ) : |
||
slotIndex | int | |
attachmentName | String | |
return |
public SetAttachment ( String slotName, String attachmentName ) : void | ||
slotName | String | |
attachmentName | String | May be null. |
return | void |
public SetSkin ( Spine.Skin newSkin ) : void | ||
newSkin | Spine.Skin | May be null. |
return | void |
public Skeleton ( |
||
data | ||
return | System |