WorldMapSetViewport(Vector2i, Int32, Int32, Boolean) Methode
Gibt die Position und Größe der Map an
Namensraum: KWEngine3Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.4.2+6f891b7e38419c187c1956396a2c2f3f0880d862
public void SetViewport(
Vector2i center,
int width,
int height,
bool drawAsCircle = false
)
Parameter
- center Vector2i
- Mittelpunkt 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