Class EngineView
Hierarchy
- EngineView
Index
Constructors
Properties
Constructors
constructor
Returns EngineView
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
Type declaration
Defines a custom function to handle canvas size changes. (the canvas to render into is provided to the callback)
Parameters
canvas: HTMLCanvasElement
Returns void
enabledSearch playground for enabled
Indicates if the view is enabled (true by default)
Readonly idSearch playground for id
A randomly generated unique id
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