Class: ScenePane
editor/panes/scenePane.ScenePane
Hierarchy
โณ
ScenePane
Constructors
constructor
โข new ScenePane(canvas
, pos
, width
, height
)
Creates a ScenePane.
Parameters
Name | Type | Description |
---|---|---|
canvas | HTMLCanvasElement | The canvas used by blaze |
pos | vec2 | The top left corner of the pane in the editor grid |
width | number | The width of the pane in columns |
height | number | The height of the pane in rows |
Overrides
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
Defined in
src/editor/panes/pane.ts:13
element
โข Readonly
element: HTMLDivElement
Inherited from
Defined in
src/ui/element.ts:9
height
โข height: number
Inherited from
Defined in
src/editor/panes/pane.ts:17
id
โข Readonly
id: string
Inherited from
Defined in
src/editor/panes/pane.ts:12
keys
โข Readonly
keys: KeyboardHandler
Inherited from
Defined in
src/ui/element.ts:11
mouse
โข Readonly
mouse: MouseHandler
Inherited from
Defined in
src/ui/element.ts:10
pos
โข pos: vec2
Inherited from
Defined in
src/editor/panes/pane.ts:15
titlebar
โข Protected
titlebar: BlazeTitleBar
Inherited from
Defined in
src/editor/panes/pane.ts:10
touch
โข Readonly
touch: TouchHandler
Inherited from
Defined in
src/ui/element.ts:12
width
โข width: number
Inherited from
Defined in
src/editor/panes/pane.ts:16
Methods
addTitlebar
โธ addTitlebar(): void
Create and append a BlazeTitleBar to the pane.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:60
removeTitlebar
โธ removeTitlebar(): void
Remove the pane's titlebar if it exists.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:70
update
โธ update(): void
Perform pane updates.
Returns
void
Inherited from
Defined in
src/editor/panes/pane.ts:55