![]() |
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.
|
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.
Definition at line 13 of file RenderSurfaceHostBindEventArgs.cs.
| 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. |
Definition at line 48 of file RenderSurfaceHostBindEventArgs.cs.
|
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.
Definition at line 31 of file RenderSurfaceHostBindEventArgs.cs.
|
get |
Gets the scene that was previously bound to the render surface host before the binding operation.
The Scene instance that was previously bound, or null if no scene was previously bound.
Definition at line 22 of file RenderSurfaceHostBindEventArgs.cs.