CompassView

Description

sealed class Tinman.Engine.Scenes.Entities.CompassView

Renders a compass.

This view renders compass ticks at the horizon:

NW 315°              N 0°             NE 45°         Major tick
   |    330°  345°    |    15°   30°    |    60°     Minor tick
   |     |     |      |     |     |     |     |
   |     |     |      |     |     |     |     |
--------------------------------------------------   Horizon

Public / Constructors

Compass​View


public constructor CompassView → ()

Creates a new instance of CompassView.

Public / Attributes

Tick​Length


public attribute TickLength → (get,set)

value : Vec2I

The length of the tick lines, in screen pixels:
Vec2I.X: major tick
Vec2I.X: minor tick

The length of the major and minor tick lines.

Defaults to (50,40).