DebugUtilities.DrawPoint Method

Definition

Overloads

DrawPoint(Vector3, Color, Single)

Draws a point in the Scene window.

DrawPoint(Vector3, Quaternion, Color, Single)

Draws a point with a rotation in the Scene window.

DrawPoint(Vector3, Color, Single)

Draws a point in the Scene window.

C#
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Color color, float size = 0.05);
C#
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Color color, float size = 0.05);

Parameters

point
UnityEngine.Vector3
color
UnityEngine.Color
size
Single
Attributes

Applies to

MRTK2 Unity 2018 2.7.0 and other versions
Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0

DrawPoint(Vector3, Quaternion, Color, Single)

Draws a point with a rotation in the Scene window.

C#
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Quaternion rotation, UnityEngine.Color color, float size = 0.05);
C#
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Quaternion rotation, UnityEngine.Color color, float size = 0.05);

Parameters

point
UnityEngine.Vector3
rotation
UnityEngine.Quaternion
color
UnityEngine.Color
size
Single
Attributes

Applies to

MRTK2 Unity 2018 2.7.0 and other versions
Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0