Class DebugDraw
- Namespace
- VoxelPlayground.Ragdoll
- Assembly
- GamePlay.dll
public static class DebugDraw
- Inheritance
-
object
DebugDraw
Fields
alpha025
public static Color alpha025
Field Value
- Color
alpha05
public static Color alpha05
Field Value
- Color
alpha075
public static Color alpha075
Field Value
- Color
Methods
public static void DrawBone(Transform tran, bool depthTest = false)
Parameters
tran Transform
depthTest bool
public static void DrawBone(Transform tran, Color c, bool depthTest = false)
Parameters
tran Transform
c Color
depthTest bool
DrawBox(Vector3, Quaternion, Vector3, Color, float)
public static void DrawBox(Vector3 pos, Quaternion rot, Vector3 size, Color c, float duration = 0.001)
Parameters
pos Vector3
rot Quaternion
size Vector3
c Color
duration float
DrawLine(Vector3, Vector3, Color, float)
public static void DrawLine(Vector3 LineStart, Vector3 LineEnd, Color Color, float LifeTime = 0)
Parameters
LineStart Vector3
LineEnd Vector3
Color Color
LifeTime float
DrawMarker(Vector3, float, Color, float, bool)
public static void DrawMarker(Vector3 position, float size, Color color, float duration, bool depthTest = true)
Parameters
position Vector3
size float
color Color
duration float
depthTest bool
public static void DrawMesh(Mesh mesh, Color color, Transform t)
Parameters
mesh Mesh
color Color
t Transform
DrawPlane(Vector3, Vector3, float, Color, float, bool)
public static void DrawPlane(Vector3 position, Vector3 normal, float size, Color color, float duration, bool depthTest = true)
Parameters
position Vector3
normal Vector3
size float
color Color
duration float
depthTest bool
DrawSphere(Vector3, float, Color, float)
public static void DrawSphere(Vector3 pos, float radius, Color color, float duration = 0)
Parameters
pos Vector3
radius float
color Color
duration float
DrawString3D(Vector3, string, TextAnchor, Color, float, float)
public static void DrawString3D(Vector3 Position, string Text, TextAnchor Anchor, Color TextColor, float TextSize = 1, float LifeTime = 0)
Parameters
Position Vector3
Text string
Anchor TextAnchor
TextColor Color
TextSize float
LifeTime float
public static void DrawTriangle(Vector3 a, Vector3 b, Vector3 c, Color color, Transform t)
Parameters
a Vector3
b Vector3
c Vector3
color Color
t Transform
DrawTriangle(Vector3, Vector3, Vector3, Color)
public static void DrawTriangle(Vector3 a, Vector3 b, Vector3 c, Color color)
Parameters
a Vector3
b Vector3
c Vector3
color Color
DrawVector(Vector3, Vector3, float, float, Color, float, bool)
public static void DrawVector(Vector3 position, Vector3 direction, float raySize, float markerSize, Color color, float duration = 0, bool depthTest = true)
Parameters
position Vector3
direction Vector3
raySize float
markerSize float
color Color
duration float
depthTest bool
RandomColor()
public static Color RandomColor()
Returns
- Color
SmallAlpha(Color, bool)
public static Color SmallAlpha(Color o, bool s)
Parameters
o Color
s bool
Returns
- Color