Class EngineView
Hierarchy
- EngineView
Index
Properties
Properties
Optional cameraSearch playground for camera
Defines an optional camera used to render the view (will use active camera else)
Optional clear Before CopySearch playground for clearBeforeCopy
Indicates if the destination view canvas should be cleared before copying the parent canvas. Can help if the scene clear color has alpha < 1
Optional custom ResizeSearch playground for customResize
Defines a custom function to handle canvas size changes. (the canvas to render into is provided to the callback)
Type declaration
-
-
Parameters
-
canvas: HTMLCanvasElement
Returns void
-
-
enabledSearch playground for enabled
Indicates if the view is enabled (true by default)
targetSearch playground for target
Defines the canvas where to render the view
Class used to define an additional view for the engine
https://doc.babylonjs.com/divingDeeper/scene/multiCanvas