C# 클래스 Spine.Skeleton

파일 보기 프로젝트 열기: EsotericSoftware/spine-runtimes 1 사용 예제들

공개 메소드들

메소드 설명
FindBone ( String boneName ) : Bone
FindBoneIndex ( String boneName ) : int
FindIkConstraint ( String constraintName ) : IkConstraint
FindPathConstraint ( String constraintName ) : PathConstraint
FindSlot ( String slotName ) : Slot
FindSlotIndex ( String slotName ) : int
FindTransformConstraint ( String constraintName ) : TransformConstraint
GetAttachment ( String slotName, String attachmentName ) : Attachment
GetAttachment ( int slotIndex, String attachmentName ) : Attachment
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 ( SkeletonData data ) : System
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.

비공개 메소드들

메소드 설명
SortBone ( Bone bone ) : void
SortIkConstraint ( IkConstraint constraint ) : void
SortPathConstraint ( PathConstraint constraint ) : void
SortPathConstraintAttachment ( Attachment attachment, Bone slotBone ) : void
SortPathConstraintAttachment ( Spine.Skin skin, int slotIndex, Bone slotBone ) : void
SortReset ( ExposedList bones ) : void
SortTransformConstraint ( TransformConstraint constraint ) : void

메소드 상세

FindBone() 공개 메소드

public FindBone ( String boneName ) : Bone
boneName String
리턴 Bone

FindBoneIndex() 공개 메소드

public FindBoneIndex ( String boneName ) : int
boneName String
리턴 int

FindIkConstraint() 공개 메소드

public FindIkConstraint ( String constraintName ) : IkConstraint
constraintName String
리턴 IkConstraint

FindPathConstraint() 공개 메소드

public FindPathConstraint ( String constraintName ) : PathConstraint
constraintName String
리턴 PathConstraint

FindSlot() 공개 메소드

public FindSlot ( String slotName ) : Slot
slotName String
리턴 Slot

FindSlotIndex() 공개 메소드

public FindSlotIndex ( String slotName ) : int
slotName String
리턴 int

FindTransformConstraint() 공개 메소드

public FindTransformConstraint ( String constraintName ) : TransformConstraint
constraintName String
리턴 TransformConstraint

GetAttachment() 공개 메소드

public GetAttachment ( String slotName, String attachmentName ) : Attachment
slotName String
attachmentName String
리턴 Attachment

GetAttachment() 공개 메소드

public GetAttachment ( int slotIndex, String attachmentName ) : Attachment
slotIndex int
attachmentName String
리턴 Attachment

SetAttachment() 공개 메소드

public SetAttachment ( String slotName, String attachmentName ) : void
slotName String
attachmentName String May be null.
리턴 void

SetBonesToSetupPose() 공개 메소드

Sets the bones and constraints to their setup pose values.
public SetBonesToSetupPose ( ) : void
리턴 void

SetSkin() 공개 메소드

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.
public SetSkin ( Spine.Skin newSkin ) : void
newSkin Spine.Skin May be null.
리턴 void

SetSkin() 공개 메소드

Sets a skin by name (see SetSkin).
public SetSkin ( String skinName ) : void
skinName String
리턴 void

SetSlotsToSetupPose() 공개 메소드

public SetSlotsToSetupPose ( ) : void
리턴 void

SetToSetupPose() 공개 메소드

Sets the bones, constraints, and slots to their setup pose values.
public SetToSetupPose ( ) : void
리턴 void

Skeleton() 공개 메소드

public Skeleton ( SkeletonData data ) : System
data SkeletonData
리턴 System

Update() 공개 메소드

public Update ( float delta ) : void
delta float
리턴 void

UpdateCache() 공개 메소드

Caches information about bones and constraints. Must be called if bones, constraints or weighted path attachments are added or removed.
public UpdateCache ( ) : void
리턴 void

UpdateWorldTransform() 공개 메소드

Updates the world transform for each bone and applies constraints.
public UpdateWorldTransform ( ) : void
리턴 void