Class: EditorPane
editor/panes/pane.EditorPane
Hierarchy
BlazeElement
<HTMLDivElement
>โณ
EditorPane
โณโณ
ConsolePane
โณโณ
EditorPaneGroup
โณโณ
PhysicsPane
โณโณ
RendererPane
โณโณ
ScenePane
โณโณ
WorldPane
Constructors
constructor
โข new EditorPane(id
, pos?
, width?
, height?
)
Creates an EditorPane.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
id | string | undefined | The pane's ID (must be a valid HTML id) |
pos | vec2 | undefined | The top left corner of the pane in the editor grid |
width | number | 1 | The width of the pane in columns |
height | number | 1 | The height of the pane in rows |
Overrides
Defined in
src/editor/panes/pane.ts:27
Properties
domId
โข Readonly
domId: string
Defined in
src/editor/panes/pane.ts:13
element
โข Readonly
element: HTMLDivElement
Inherited from
Defined in
src/ui/element.ts:9
height
โข height: number
Defined in
src/editor/panes/pane.ts:17
id
โข Readonly
id: string
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
Defined in
src/editor/panes/pane.ts:15
titlebar
โข Protected
titlebar: BlazeTitleBar
Defined in
src/editor/panes/pane.ts:10
touch
โข Readonly
touch: TouchHandler
Inherited from
Defined in
src/ui/element.ts:12
width
โข width: number
Defined in
src/editor/panes/pane.ts:16
Methods
addTitlebar
โธ addTitlebar(): void
Create and append a BlazeTitleBar to the pane.
Returns
void
Defined in
src/editor/panes/pane.ts:60
removeTitlebar
โธ removeTitlebar(): void
Remove the pane's titlebar if it exists.
Returns
void
Defined in
src/editor/panes/pane.ts:70
update
โธ update(): void
Perform pane updates.
Returns
void
Defined in
src/editor/panes/pane.ts:55