getInterfaceOffsetFromSystemBar

open fun getInterfaceOffsetFromSystemBar(ship: ShipAPI, variant: ShipVariantAPI): Vector2f

Get the UI Element Offset for the Shipsystem bar. (Depends if the group layout, or if the player has some wing)

Return

The offset who depends of weapon and wing.

Parameters

ship

The player ship.

variant

The variant of the ship.