Skip to content
pixi-silk
GitHub repository
Interface

MinimapTransform

import type { MinimapTransform } from 'pixi-silk/ui/minimap';

How world units map onto the minimap: map = world * scale + (x, y).

Properties#

PropertyTypeDescriptionDefined in
scalenumberMinimap pixels per world unit.ui/panels/Minimap.ts:24
xnumberHorizontal offset in minimap pixels.ui/panels/Minimap.ts:26
ynumberVertical offset in minimap pixels.ui/panels/Minimap.ts:28