Gondwana Game Engine Development (master) - 2.6.1
Gondwana is a cross-platform 2.5D game and rendering engine written in C#/.NET 8. It provides fine-grained control over rendering, timing, and scene composition, with built-in support for parallax, z-ordering, pixel overhang, collision detection, and particle effects. Gondwana targets desktop and web platforms using SkiaSharp for graphics and pluggable audio backends for desktop and browser targets.
Loading...
Searching...
No Matches
ViewportZoomChangedEventArgs.cs
2
9{
16 public Viewport Viewport { get; }
17
25 public float OldZoom { get; }
26
34 public float NewZoom { get; }
35
43 public ViewportZoomChangedEventArgs(Viewport viewport, float oldZoom, float newZoom)
44 {
45 Viewport = viewport;
46 OldZoom = oldZoom;
47 NewZoom = newZoom;
48 }
49}
float OldZoom
Gets the previous zoom level before the change occurred.
Viewport Viewport
Gets the viewport instance whose zoom level changed.
ViewportZoomChangedEventArgs(Viewport viewport, float oldZoom, float newZoom)
Initializes a new instance of the ViewportZoomChangedEventArgs class with the specified viewport and ...
float NewZoom
Gets the new zoom level after the change occurred.