C# 클래스 Spine.Bone

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

공개 프로퍼티들

프로퍼티 타입 설명
yDown bool

공개 메소드들

메소드 설명
Bone ( BoneData data, Skeleton skeleton, Bone parent ) : System
LocalToWorld ( float localX, float localY, float &worldX, float &worldY ) : void
RotateWorld ( float degrees ) : void
SetToSetupPose ( ) : void
ToString ( ) : String
Update ( ) : void

Same as UpdateWorldTransform. This method exists for Bone to implement Spine.IUpdatable.

UpdateWorldTransform ( ) : void

Computes the world transform using the parent bone and this bone's local transform.

UpdateWorldTransform ( float x, float y, float rotation, float scaleX, float scaleY, float shearX, float shearY ) : void

Computes the world transform using the parent bone and the specified local transform.

WorldToLocal ( float worldX, float worldY, float &localX, float &localY ) : void

비공개 메소드들

메소드 설명
UpdateAppliedTransform ( ) : void

Computes the individual applied transform values from the world transform. This can be useful to perform processing using the applied transform after the world transform has been modified directly (eg, by a constraint).. Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation.

메소드 상세

Bone() 공개 메소드

public Bone ( BoneData data, Skeleton skeleton, Bone parent ) : System
data BoneData
skeleton Skeleton
parent Bone May be null.
리턴 System

LocalToWorld() 공개 메소드

public LocalToWorld ( float localX, float localY, float &worldX, float &worldY ) : void
localX float
localY float
worldX float
worldY float
리턴 void

RotateWorld() 공개 메소드

public RotateWorld ( float degrees ) : void
degrees float
리턴 void

SetToSetupPose() 공개 메소드

public SetToSetupPose ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

Update() 공개 메소드

Same as UpdateWorldTransform. This method exists for Bone to implement Spine.IUpdatable.
public Update ( ) : void
리턴 void

UpdateWorldTransform() 공개 메소드

Computes the world transform using the parent bone and this bone's local transform.
public UpdateWorldTransform ( ) : void
리턴 void

UpdateWorldTransform() 공개 메소드

Computes the world transform using the parent bone and the specified local transform.
public UpdateWorldTransform ( float x, float y, float rotation, float scaleX, float scaleY, float shearX, float shearY ) : void
x float
y float
rotation float
scaleX float
scaleY float
shearX float
shearY float
리턴 void

WorldToLocal() 공개 메소드

public WorldToLocal ( float worldX, float worldY, float &localX, float &localY ) : void
worldX float
worldY float
localX float
localY float
리턴 void

프로퍼티 상세

yDown 정적으로 공개적으로 프로퍼티

static public bool yDown
리턴 bool