Class: PhysicsPane
editor/panes/physicsPane.PhysicsPane
Hierarchy
โณ
PhysicsPane
Constructors
constructor
โข new PhysicsPane(pos?
, width?
, height?
)
Creates a PhysicsPane.
Parameters
Name | Type | Description |
---|---|---|
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/physicsPane.ts:53
Properties
aabbLeftHeight
โข aabbLeftHeight: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:40
aabbRightHeight
โข aabbRightHeight: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:41
aabbTreeHeight
โข aabbTreeHeight: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:39
aabbTreeInsertions
โข aabbTreeInsertions: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:42
actualCollisions
โข actualCollisions: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:44
broadphaseTime
โข broadphaseTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:32
collisionBodies
โข collisionBodies: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:38
collisionPairs
โข collisionPairs: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:43
collisionsHeading
โข collisionsHeading: BlazeHeading
Defined in
src/editor/panes/physicsPane.ts:16
constraintTime
โข constraintTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:35
debug
โข debug: BlazeDropdown
Defined in
src/editor/panes/physicsPane.ts:19
domId
โข Readonly
domId: string
Inherited from
Defined in
src/editor/panes/pane.ts:13
dynamicsBodies
โข dynamicsBodies: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:30
dynamicsHeading
โข dynamicsHeading: BlazeHeading
Defined in
src/editor/panes/physicsPane.ts:15
dynamicsTime
โข dynamicsTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:29
element
โข Readonly
element: HTMLDivElement
Inherited from
Defined in
src/ui/element.ts:9
fluidTime
โข fluidTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:36
fps
โข fps: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:26
gravityX
โข gravityX: BlazeInput
Defined in
src/editor/panes/physicsPane.ts:22
gravityY
โข gravityY: BlazeInput
Defined in
src/editor/panes/physicsPane.ts:23
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
narrowphaseTime
โข narrowphaseTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:33
physicsHeading
โข physicsHeading: BlazeHeading
Defined in
src/editor/panes/physicsPane.ts:14
physicsTime
โข physicsTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:27
pos
โข pos: vec2
Inherited from
Defined in
src/editor/panes/pane.ts:15
positionIterations
โข positionIterations: BlazeInput
Defined in
src/editor/panes/physicsPane.ts:21
solveTime
โข solveTime: BlazeStat
<number
>
Defined in
src/editor/panes/physicsPane.ts:34
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
velocityIterations
โข velocityIterations: BlazeInput
Defined in
src/editor/panes/physicsPane.ts:20
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
Update render stats.
Returns
void
Overrides
Defined in
src/editor/panes/physicsPane.ts:134