DebugUtilities.DrawPoint Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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);
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
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 |
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);
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
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 |