C# Class Spine.Bone

Inheritance: IUpdatable
Afficher le fichier Open project: EsotericSoftware/spine-runtimes Class Usage Examples

Méthodes publiques

Свойство Type Description
yDown bool

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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.

Method Details

Bone() public méthode

public Bone ( BoneData data, Skeleton skeleton, Bone parent ) : System
data BoneData
skeleton Skeleton
parent Bone May be null.
Résultat System

LocalToWorld() public méthode

public LocalToWorld ( float localX, float localY, float &worldX, float &worldY ) : void
localX float
localY float
worldX float
worldY float
Résultat void

RotateWorld() public méthode

public RotateWorld ( float degrees ) : void
degrees float
Résultat void

SetToSetupPose() public méthode

public SetToSetupPose ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : String
Résultat String

Update() public méthode

Same as UpdateWorldTransform. This method exists for Bone to implement Spine.IUpdatable.
public Update ( ) : void
Résultat void

UpdateWorldTransform() public méthode

Computes the world transform using the parent bone and this bone's local transform.
public UpdateWorldTransform ( ) : void
Résultat void

UpdateWorldTransform() public méthode

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
Résultat void

WorldToLocal() public méthode

public WorldToLocal ( float worldX, float worldY, float &localX, float &localY ) : void
worldX float
worldY float
localX float
localY float
Résultat void

Property Details

yDown static_oe public_oe property

static public bool yDown
Résultat bool