mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
[as3] Ported addition of x/y bounding coordinates to SkeletonData. See #1325.
This commit is contained in:
parent
c68d85a1fc
commit
6e67fbf5e3
Binary file not shown.
@ -43,7 +43,7 @@ package spine {
|
||||
public var ikConstraints : Vector.<IkConstraintData> = new Vector.<IkConstraintData>();
|
||||
public var transformConstraints : Vector.<TransformConstraintData> = new Vector.<TransformConstraintData>();
|
||||
public var pathConstraints : Vector.<PathConstraintData> = new Vector.<PathConstraintData>();
|
||||
public var width : Number, height : Number;
|
||||
public var x : Number, y : Number, width : Number, height : Number;
|
||||
public var version : String, hash : String;
|
||||
public var fps : Number;
|
||||
public var imagesPath : String;
|
||||
|
||||
@ -92,6 +92,8 @@ package spine {
|
||||
if (skeletonMap) {
|
||||
skeletonData.hash = skeletonMap["hash"];
|
||||
skeletonData.version = skeletonMap["spine"];
|
||||
skeletonData.x = skeletonMap["x"] || 0;
|
||||
skeletonData.y = skeletonMap["y"] || 0;
|
||||
skeletonData.width = skeletonMap["width"] || 0;
|
||||
skeletonData.height = skeletonMap["height"] || 0;
|
||||
skeletonData.fps = skeletonMap["fps"] || 0;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user