Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to define an additional view for the engine

see

https://doc.babylonjs.com/features/featuresDeepDive/scene/multiCanvas

Hierarchy

  • EngineView

Index

Constructors

Properties

camera?: Camera

Defines an optional camera used to render the view (will use active camera else)

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

customResize?: ((canvas: HTMLCanvasElement) => void)

Type declaration

    • (canvas: HTMLCanvasElement): void
    • Defines a custom function to handle canvas size changes. (the canvas to render into is provided to the callback)

      Parameters

      • canvas: HTMLCanvasElement

      Returns void

enabled: boolean

Indicates if the view is enabled (true by default)

id: string

A randomly generated unique id

target: HTMLCanvasElement

Defines the canvas where to render the view

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme