mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[xna] Changed SkeletonDebugRenderer bone color attributes to public so that they can be modified by users.
This commit is contained in:
parent
3a950cd33e
commit
16e02fdad6
@ -38,14 +38,14 @@ namespace Spine {
|
||||
public class SkeletonDebugRenderer {
|
||||
ShapeRenderer renderer;
|
||||
|
||||
private static Color boneLineColor = new Color(1f, 0f, 0f, 1f);
|
||||
private static Color boneOriginColor = new Color(0f, 1f, 0f, 1f);
|
||||
private static Color attachmentLineColor = new Color(0f, 0f, 1f, 0.5f);
|
||||
private static Color triangleLineColor = new Color(1f, 0.64f, 0f, 0.5f);
|
||||
private static Color pathColor = new Color(1f, 0.5f, 0f, 1f);
|
||||
private static Color clipColor = new Color(0.8f, 0f, 0f, 1f);
|
||||
private static Color clipDecomposedColor = new Color(0.8f, 0.8f, 0f, 1f);
|
||||
private static Color aabbColor = new Color(0f, 1f, 0f, 0.5f);
|
||||
public static Color boneLineColor = new Color(1f, 0f, 0f, 1f);
|
||||
public static Color boneOriginColor = new Color(0f, 1f, 0f, 1f);
|
||||
public static Color attachmentLineColor = new Color(0f, 0f, 1f, 0.5f);
|
||||
public static Color triangleLineColor = new Color(1f, 0.64f, 0f, 0.5f);
|
||||
public static Color pathColor = new Color(1f, 0.5f, 0f, 1f);
|
||||
public static Color clipColor = new Color(0.8f, 0f, 0f, 1f);
|
||||
public static Color clipDecomposedColor = new Color(0.8f, 0.8f, 0f, 1f);
|
||||
public static Color aabbColor = new Color(0f, 1f, 0f, 0.5f);
|
||||
|
||||
public BasicEffect Effect { get { return renderer.Effect; } set { renderer.Effect = value; } }
|
||||
public bool DrawBones { get; set; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user