[libgdx] Expose clipper used by SkeletonRenderer for use with Skeleton.getBounds(), see #2515

This commit is contained in:
Mario Zechner 2024-05-02 17:08:08 +02:00
parent 637321ad16
commit 2049bed11e

View File

@ -357,4 +357,10 @@ public class SkeletonRenderer {
pmaColors = pmaColorsAndBlendModes;
pmaBlendModes = pmaColorsAndBlendModes;
}
/** Returns the {@link SkeletonClipping} used by this renderer for use with e.g.
* {@link Skeleton#getBounds(com.badlogic.gdx.math.Vector2, com.badlogic.gdx.math.Vector2, FloatArray, SkeletonClipping)} **/
public SkeletonClipping getSkeletonClipping () {
return clipper;
}
}