mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[monogame] Expose clipper used by SkeletonRenderer for use with Skeleton.GetBounds(), see #2515. Port of commit 2049bed.
This commit is contained in:
parent
0a828099e9
commit
ad82b56425
@ -41,6 +41,11 @@ namespace Spine {
|
|||||||
private const int BR = 3;
|
private const int BR = 3;
|
||||||
|
|
||||||
SkeletonClipping clipper = new SkeletonClipping();
|
SkeletonClipping clipper = new SkeletonClipping();
|
||||||
|
/// <summary>Returns the <see cref="SkeletonClipping"/> used by this renderer for use with e.g.
|
||||||
|
/// <see cref="Skeleton.GetBounds(out float, out float, out float, out float, ref float[], SkeletonClipping)"/>
|
||||||
|
/// </summary>
|
||||||
|
public SkeletonClipping SkeletonClipping { get { return clipper; } }
|
||||||
|
|
||||||
GraphicsDevice device;
|
GraphicsDevice device;
|
||||||
MeshBatcher batcher;
|
MeshBatcher batcher;
|
||||||
public MeshBatcher Batcher { get { return batcher; } }
|
public MeshBatcher Batcher { get { return batcher; } }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user