Skip to main content

CrosshairImageDrawer

Provides methods for drawing a crosshair to a texture.

Static methods

DrawLineCrosshair

Parameters

NameTypeDescription
crosshairCrosshairThe crosshair to draw.

Returns

TypeDescription
Texture2DA Texture2D that contains the drawn crosshair. The width and height of the texture are both equal to Crosshair.SizeNeeded.