diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java index 5aa107e9c..67b3ffa07 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/Skeleton.java @@ -680,6 +680,11 @@ public class Skeleton { this.color.set(color); } + /** A convenience method for setting the skeleton color. The color can also be set by modifying {@link #getColor()}. */ + public void setColor (float r, float g, float b, float a) { + color.set(r, g, b, a); + } + /** Scales the entire skeleton on the X axis. This affects all bones, even if the bone's transform mode disallows scale * inheritance. */ public float getScaleX () {