Click or drag to resize
Ab4d.SharpEngine logo

SceneViewResize(Boolean) Method

Resizes the current SceneView by updating the size from the size of the Surface. When no Surface is used, then Resize(Int32, Int32, SurfaceTransformFlagsKHR, Boolean) must be used.

Namespace: Ab4d.SharpEngine
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool Resize(
	bool renderNextFrameAfterResize = true
)

Parameters

renderNextFrameAfterResize  Boolean  (Optional)
true (by default) to render next frame after resizing

Return Value

Boolean
false when no resize was needed because the size was already set
Exceptions
ExceptionCondition
SharpEngineExceptionwhen Surface is null
See Also