Skip to main content

Class: ScenePane

editor/panes/scenePane.ScenePane

Hierarchy

Constructors

constructor

โ€ข new ScenePane(canvas, pos, width, height)

Creates a ScenePane.

Parameters

NameTypeDescription
canvasHTMLCanvasElementThe canvas used by blaze
posvec2The top left corner of the pane in the editor grid
widthnumberThe width of the pane in columns
heightnumberThe height of the pane in rows

Overrides

EditorPane.constructor

Defined in

src/editor/panes/scenePane.ts:15

Properties

canvas

โ€ข canvas: HTMLCanvasElement

Defined in

src/editor/panes/scenePane.ts:5


domId

โ€ข Readonly domId: string

Inherited from

EditorPane.domId

Defined in

src/editor/panes/pane.ts:13


element

โ€ข Readonly element: HTMLDivElement

Inherited from

EditorPane.element

Defined in

src/ui/element.ts:9


height

โ€ข height: number

Inherited from

EditorPane.height

Defined in

src/editor/panes/pane.ts:17


id

โ€ข Readonly id: string

Inherited from

EditorPane.id

Defined in

src/editor/panes/pane.ts:12


keys

โ€ข Readonly keys: KeyboardHandler

Inherited from

EditorPane.keys

Defined in

src/ui/element.ts:11


mouse

โ€ข Readonly mouse: MouseHandler

Inherited from

EditorPane.mouse

Defined in

src/ui/element.ts:10


pos

โ€ข pos: vec2

Inherited from

EditorPane.pos

Defined in

src/editor/panes/pane.ts:15


titlebar

โ€ข Protected titlebar: BlazeTitleBar

Inherited from

EditorPane.titlebar

Defined in

src/editor/panes/pane.ts:10


touch

โ€ข Readonly touch: TouchHandler

Inherited from

EditorPane.touch

Defined in

src/ui/element.ts:12


width

โ€ข width: number

Inherited from

EditorPane.width

Defined in

src/editor/panes/pane.ts:16

Methods

addTitlebar

โ–ธ addTitlebar(): void

Create and append a BlazeTitleBar to the pane.

Returns

void

Inherited from

EditorPane.addTitlebar

Defined in

src/editor/panes/pane.ts:60


removeTitlebar

โ–ธ removeTitlebar(): void

Remove the pane's titlebar if it exists.

Returns

void

Inherited from

EditorPane.removeTitlebar

Defined in

src/editor/panes/pane.ts:70


update

โ–ธ update(): void

Perform pane updates.

Returns

void

Inherited from

EditorPane.update

Defined in

src/editor/panes/pane.ts:55