Editar

Partilhar via


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.

public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Color color, float size = 0.05);
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Color color, float size = 0.05);
static member DrawPoint : UnityEngine.Vector3 * UnityEngine.Color * single -> unit
[<System.Diagnostics.Conditional("UNITY_EDITOR")>]
static member DrawPoint : UnityEngine.Vector3 * UnityEngine.Color * single -> unit
Public Shared Sub DrawPoint (point As Vector3, color As Color, Optional size As Single = 0.05)

Parameters

point
UnityEngine.Vector3
color
UnityEngine.Color
size
Single
Attributes

Applies to

DrawPoint(Vector3, Quaternion, Color, Single)

Draws a point with a rotation in the Scene window.

public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Quaternion rotation, UnityEngine.Color color, float size = 0.05);
[System.Diagnostics.Conditional("UNITY_EDITOR")]
public static void DrawPoint (UnityEngine.Vector3 point, UnityEngine.Quaternion rotation, UnityEngine.Color color, float size = 0.05);
static member DrawPoint : UnityEngine.Vector3 * UnityEngine.Quaternion * UnityEngine.Color * single -> unit
[<System.Diagnostics.Conditional("UNITY_EDITOR")>]
static member DrawPoint : UnityEngine.Vector3 * UnityEngine.Quaternion * UnityEngine.Color * single -> unit
Public Shared Sub DrawPoint (point As Vector3, rotation As Quaternion, color As Color, Optional size As Single = 0.05)

Parameters

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

Applies to