WorldMapSetViewport(Int32, Int32, Int32, Int32, Boolean) Methode
Gibt die Position und Größe der Map an
Namensraum: KWEngine3Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.4.5+2fac2d6c8d146b56a3a1bf9131e1a679e9c90aa1
public void SetViewport(
int centerX,
int centerY,
int width,
int height,
bool drawAsCircle = false
)
Parameter
- centerX Int32
- Mittelpunkt (x-Achse) der Map in Fensterpixelkoordinaten
- centerY Int32
- Mittelpunkt (y-Achse) der Map in Fensterpixelkoordinaten
- width Int32
- Breite der Map auf dem Bildschirm (in Pixeln, Mindestwert: 32)
- height Int32
- Höhe der Map auf dem Bildschirm (in Pixeln, Mindestwert: 32)
- drawAsCircle Boolean (Optional)
- Zeichnet die Map kreisrund statt quadratisch