Skip to content

Commit

Permalink
[libgdx] Expose clipper used by SkeletonRenderer for use with Skeleto…
Browse files Browse the repository at this point in the history
…n.getBounds(), see #2515
  • Loading branch information
badlogic committed May 2, 2024
1 parent 637321a commit 2049bed
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -357,4 +357,10 @@ public void setPremultipliedAlpha (boolean pmaColorsAndBlendModes) {
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;
}
}

0 comments on commit 2049bed

Please sign in to comment.