Beispiel #1
0
 public static void WireTriangle(float3 a, float3 b, float3 c, Color color)
 {
     DrawingManager.Init();
     builder.WireTriangle(a, b, c, color);
 }
Beispiel #2
0
 public static void WireRectangleXZ(float3 center, float3 size, Color color)
 {
     DrawingManager.Init();
     builder.WireRectangleXZ(center, size, color);
 }
Beispiel #3
0
 public static void ArrowheadArc(float3 origin, float3 direction, float offset, Color color)
 {
     DrawingManager.Init();
     builder.ArrowheadArc(origin, direction, offset, color);
 }
Beispiel #4
0
 public static void WireGrid(float3 center, Quaternion rotation, int2 cells, float2 totalSize, Color color)
 {
     DrawingManager.Init();
     builder.WireGrid(center, rotation, cells, totalSize, color);
 }
Beispiel #5
0
 public static void Arrowhead(float3 center, float3 direction, float3 up, float radius, Color color)
 {
     DrawingManager.Init();
     builder.Arrowhead(center, direction, up, radius, color);
 }
Beispiel #6
0
 public static void PushColor(Color color)
 {
     DrawingManager.Init();
     builder.PushColor(color);
 }
Beispiel #7
0
 public static void Arrow(float3 from, float3 to, float3 up, float headFraction, Color color)
 {
     DrawingManager.Init();
     builder.Arrow(from, to, up, headFraction, color);
 }
Beispiel #8
0
 public static void Arrow(float3 from, float3 to, Color color)
 {
     DrawingManager.Init();
     builder.Arrow(from, to, color);
 }
Beispiel #9
0
 public static void Bezier(float3 p0, float3 p1, float3 p2, float3 p3, Color color)
 {
     DrawingManager.Init();
     builder.Bezier(p0, p1, p2, p3, color);
 }
Beispiel #10
0
 public static void CrossXY(float3 position, Color color)
 {
     DrawingManager.Init();
     builder.CrossXY(position, color);
 }
Beispiel #11
0
 public MonoBehaviourGizmos()
 {
     DrawingManager.Register(this);
 }