mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 17:18:44 +08:00
[libgdx] Expose clipper used by SkeletonRenderer for use with Skeleton.getBounds(), see #2515
This commit is contained in:
parent
637321ad16
commit
2049bed11e
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user