Class EngineView
Constructors
constructor
-
Returns EngineView
Properties
Optional Sincecamera
Defines an optional camera or array of cameras used to render the view (will use active camera / cameras else) Support for array of cameras
Optionalclear Before Copy
clearBeforeCopy?: boolean
Indicates if the destination view canvas should be cleared before copying the parent canvas. Can help if the scene clear color has alpha < 1
Optionalcustom Resize
customResize?: (canvas: HTMLCanvasElement) => void
Defines a custom function to handle canvas size changes. (the canvas to render into is provided to the callback)
enabled
enabled: boolean
Indicates if the view is enabled (true by default)
Readonlyid
id: string
A randomly generated unique id
target
target: HTMLCanvasElement
Defines the canvas where to render the view
Class used to define an additional view for the engine
See
https://doc.babylonjs.com/features/featuresDeepDive/scene/multiCanvas