![]() |
Gondwana Game Engine
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, mobile, and web platforms using SkiaSharp for graphics and NAudio for sound.
|
Provides data for the RenderSurfaceHost<TBackbuffer>.BindToScene event. More...
Public Member Functions | |
| RenderSurfaceHostBindEventArgs (Scene? oldScene, Scene? newScene) | |
| Initializes a new instance of the RenderSurfaceHostBindEventArgs class. | |
Properties | |
| Scene? | OldScene [get] |
| Gets the scene that was previously bound to the render surface host before the binding operation. | |
| Scene? | NewScene [get] |
| Gets the scene that is now bound to the render surface host after the binding operation. | |
Provides data for the RenderSurfaceHost<TBackbuffer>.BindToScene event.
This event argument class contains information about scene binding operations, including references to both the previously bound scene (if any) and the newly bound scene. Use this to respond to scene changes in render surface hosts.
| Gondwana.Rendering.RenderSurfaceHostBindEventArgs.RenderSurfaceHostBindEventArgs | ( | Scene? | oldScene, |
| Scene? | newScene ) |
Initializes a new instance of the RenderSurfaceHostBindEventArgs class.
| oldScene | The scene that was previously bound to the render surface host, or null if no scene was previously bound. |
| newScene | The scene that is now bound to the render surface host, or null if the scene was unbound without binding a new one. |
|
get |
Gets the scene that is now bound to the render surface host after the binding operation.
The Scene instance that is now bound, or null if the scene was unbound without binding a new one.