Skip to main content

MiniMapConfig

Configuration interface for the MiniMap.

Properties

backgroundColor

backgroundColor: Color

The color of the background of the minimap.


frontOffset

frontOffset: number

The front offset of the minimap. It determines how much the minimap's view is offset from the camera's view. By pushing the map to the front, what the user sees on screen corresponds with what they see on the map


lockRotation

lockRotation: boolean

Whether to lock the rotation of the top camera in the minimap.


sizeX

sizeX: number

The horizontal dimension of the minimap.


sizeY

sizeY: number

The vertical dimension of the minimap.


visible

visible: boolean

Whether the minimap is visible or not.


zoom

zoom: number

The zoom of the camera in the minimap.