 |
SharpEngineSceneViewRenderToBitmap(WriteableBitmap, Boolean) Method |
RenderToBitmap method renders the current scene to the specified WPF's WriteableBitmap.
If the WriteableBitmap is null of its size is not the same as the size of the SceneView, then the WriteableBitmap is resized.
See also the RenderToXXXX methods in the SceneView object.
Namespace: Ab4d.SharpEngine.WpfAssembly: Ab4d.SharpEngine.Wpf (in Ab4d.SharpEngine.Wpf.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic bool RenderToBitmap(
ref WriteableBitmap?? writeableBitmap,
bool renderNewFrame = true
)
Parameters
- writeableBitmap WriteableBitmap
- WriteableBitmap that will get the rendered scene
- renderNewFrame Boolean (Optional)
- true (by default) to always render a new frame
Return Value
Booleantrue when the rendered scene was copied to the specified WriteableBitmap
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Wpf.SharpEngineSceneView.RenderToBitmap(System.Windows.Media.Imaging.WriteableBitmap@,System.Boolean)"]
See Also