IRenderManagerTryGetSnapshot Method |
Request a snapshot from the desired renderer.
Namespace:
Demo3D.Renderers
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 18.04.00
Syntaxbool TryGetSnapshot(
IRenderer renderer,
bool syncScene,
bool transparentBackground,
out Bitmap?? result
)
Parameters
- renderer
- Type: IRenderer
The renderer to snapshot. - syncScene
- Type: SystemBoolean
Sync the scene before rendering. - transparentBackground
- Type: SystemBoolean
Render with a transparent background. - result
- Type: System.DrawingBitmap
The snapshot.
Return Value
Type:
BooleanTrue if a snapshot is successfully taken.
See Also