|
SceneViewResize(Int32, Int32, SurfaceTransformFlagsKHR, Boolean) Method |
Resizes the current SceneView to the provided size.
When SceneView is rendered to the
Surface, then call the
Resize(Boolean) method.
Namespace: Ab4d.SharpEngineAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public bool Resize(
int newWidth,
int newHeight,
SurfaceTransformFlagsKHR preTransform = SurfaceTransformFlagsKHR.None,
bool renderNextFrameAfterResize = true
)
Parameters
- newWidth Int32
- new width
- newHeight Int32
- new height
- preTransform SurfaceTransformFlagsKHR (Optional)
- pre-transform (None by default)
- renderNextFrameAfterResize Boolean (Optional)
- true (by default) to render next frame after resizing
Return Value
Booleanfalse when no resize was needed because the size was already set
Exceptions See Also