MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DebugDraw

Class DebugDraw

Source/Engine/Debug/DebugDraw.cs:12–219  ·  view source on GitHub ↗

The debug shapes rendering service. Not available in final game. For use only in the editor.

Source from the content-addressed store, hash-verified

10 /// The debug shapes rendering service. Not available in final game. For use only in the editor.
11 /// </summary>
12 [Unmanaged]
13 [Tooltip("The debug shapes rendering service. Not available in final game. For use only in the editor.")]
14 public static unsafe partial class DebugDraw
15 {
16 public static void Draw(ref RenderContext renderContext, GPUTextureView target = null, GPUTextureView depthBuffer = null, bool enableDepthTest = false)
17 {
18 }
19
20 public static void DrawActors(IntPtr selectedActors, int selectedActorsCount, bool drawScenes)
21 {
22 }
23
24 public static void DrawAxisFromDirection(Vector3 origin, Vector3 direction, float size = 100.0f, float duration = 0.0f, bool depthTest = true)
25 {
26 }
27
28 public static void DrawDirection(Vector3 origin, Vector3 direction, Color color, float duration = 0.0f, bool depthTest = true)
29 {
30 }
31
32 [Obsolete("Use DrawRay with length parameter instead")]
33 public static void DrawRay(Vector3 origin, Vector3 direction, Color color, float duration, bool depthTest)
34 {
35 }
36
37 public static void DrawRay(Vector3 origin, Vector3 direction, Color color, float length = float.MaxValue, float duration = 0.0f, bool depthTest = true)
38 {
39 }
40
41 public static void DrawRay(Ray ray, Color color, float length = float.MaxValue, float duration = 0.0f, bool depthTest = true)
42 {
43 }
44
45 public static void DrawLine(Vector3 start, Vector3 end, Color color, float duration = 0.0f, bool depthTest = true)
46 {
47 }
48
49 public static void DrawLine(Vector3 start, Vector3 end, Color startColor, Color endColor, float duration = 0.0f, bool depthTest = true)
50 {
51 }
52
53 public static void DrawLines(Float3[] lines, Matrix transform, Color color, float duration = 0.0f, bool depthTest = true)
54 {
55 }
56
57 public static void DrawLines(GPUBuffer lines, Matrix transform, float duration = 0.0f, bool depthTest = true)
58 {
59 }
60
61 public static void DrawLines(Double3[] lines, Matrix transform, Color color, float duration = 0.0f, bool depthTest = true)
62 {
63 }
64
65 public static void DrawBezier(Vector3 p1, Vector3 p2, Vector3 p3, Vector3 p4, Color color, float duration = 0.0f, bool depthTest = true)
66 {
67 }
68
69 public static void DrawCircle(Vector3 position, Float3 normal, float radius, Color color, float duration = 0.0f, bool depthTest = true)

Callers 1

OnDebugDrawMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected