Property | Type | Description | |
---|---|---|---|
yDown | bool |
Method | Description | |
---|---|---|
Bone ( |
||
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 |
Method | 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.
|
public Bone ( |
||
data | ||
skeleton | ||
parent | May be null. | |
return | System |
public LocalToWorld ( float localX, float localY, float &worldX, float &worldY ) : void | ||
localX | float | |
localY | float | |
worldX | float | |
worldY | float | |
return | void |
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 | |
return | void |
public WorldToLocal ( float worldX, float worldY, float &localX, float &localY ) : void | ||
worldX | float | |
worldY | float | |
localX | float | |
localY | float | |
return | void |