WorldMapSetViewport(Vector2i, Int32, Int32, Boolean) Methode
Gibt die Position und Größe der Map an
Namensraum: KWEngine3Assembly: KWEngine3 (in KWEngine3.dll) Version: 3.0.7.3+f07b5927a6865945f32f848bdf50a2c2724c3fb9
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