Method DrawPoint
DrawPoint(Vector3, Color, float, Texture)
Draw a point (in pixel space) on the screen
Declaration
public static void DrawPoint(Vector3 pt, Color color, float width = 4, Texture texture = null)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | pt | The point location, in pixel space |
Color | color | The color of the point |
float | width | The width of the point |
Texture | texture | The texture to use for the point, defaults to a solid pixel |
DrawPoint(float, float, Color, float, Texture)
Draw a point (in pixel space) on the screen
Declaration
public static void DrawPoint(float x, float y, Color color, float width = 4, Texture texture = null)
Parameters
Type | Name | Description |
---|---|---|
float | x | The point's x value, in pixel space |
float | y | The point's y value, in pixel space |
Color | color | The color of the point |
float | width | The width of the point |
Texture | texture | The texture to use for the point, defaults to a solid pixel |