GizmoUtil

Description

static class Tinman.AddOns.Widgets.GizmoUtil

Full source code is included in the Tinman 3D SDK download.

Helper class for drawing simple 2D gizmos.

Public / Methods

Cross​Hair


public static method CrossHair → (5)

in : Graphics

The graphics object to use.

center in : Vec2I

The pixel coordinate of the cross-hair center.

opacity in : int32

The opacity, in percent.

color opt : int64 = Colors.White

The cross-hair color (see Colors).

radius opt : int32 = 35

The cross-hair circle radius, in pixels.

Renders the cross-hair.