mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-22 09:46:42 +08:00
Use totalZ rather than the deprecated totalZElevation.
This commit is contained in:
parent
bc6f750a39
commit
ea4d15519d
@ -163,7 +163,7 @@ class SpineC3Instance extends globalThis.ISDKWorldInstanceBase {
|
||||
this.matrix.update(
|
||||
this.x + this.propOffsetX,
|
||||
this.y + this.propOffsetY,
|
||||
this.totalZElevation,
|
||||
this.totalZ,
|
||||
this.angle + this.propOffsetAngle,
|
||||
this.width / this.spineBounds.width * this.propScaleX * (this.isFlippedX ? -1 : 1),
|
||||
this.height / this.spineBounds.height * this.propScaleY);
|
||||
|
||||
@ -572,7 +572,7 @@ class SpineC3PluginInstance extends SDK.IWorldInstanceBase {
|
||||
this.matrix.update(
|
||||
this._inst.GetX() + this.propOffsetX,
|
||||
this._inst.GetY() + this.propOffsetY,
|
||||
this._inst.GetTotalZElevation(),
|
||||
this._inst.GetTotalZ(),
|
||||
this._inst.GetAngle() + this.propOffsetAngle,
|
||||
actualScaleX,
|
||||
actualScaleY);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user