CrosshairImageDrawer
Provides methods for drawing a crosshair to a texture.
Static methods
DrawLineCrosshair
Parameters
Name | Type | Description |
---|---|---|
crosshair | Crosshair | The crosshair to draw. |
Returns
Type | Description |
---|---|
Texture2D | A Texture2D that contains the drawn crosshair. The width and height of the texture are both equal to Crosshair.SizeNeeded. |