|  | 
| SceneViewGetCurrentSurfaceSize Method | 
            Gets the size of the 
Surface. The size information is obtained from the surface's current
            extent. When the current extent does not define size (for example, this seems to be the case with Silk.NET
            under Linux with Wayland), the fallback width and height are used, if they are supplied by the caller
            (Initialize and Resize methods), who would typically obtain them from the windowing/presentation
            framework. If fallback dimensions are not provided (their values are 0), the existing scene view dimensions are used.
            
 Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxprotected virtual IntSize GetCurrentSurfaceSize(
	bool updateSurfaceCapabilities,
	int fallbackWidth = 0,
	int fallbackHeight = 0
)
Parameters
- updateSurfaceCapabilities  Boolean
- updateSurfaceCapabilities
- fallbackWidth  Int32  (Optional)
- Optional fallback width value when surface does not provide size information.
- fallbackHeight  Int32  (Optional)
- Optional fallback height value when surface does not provide size information.
Return Value
IntSizesize of the Surface
 Exceptions
Exceptions| Exception | Condition | 
|---|
| InvalidOperationException | when Surface is null | 
 See Also
See Also