Skip to content

five-on-it / apps/client/src/renderer/scene / ColliderView

Interface: ColliderView ​

Defined in: apps/client/src/renderer/scene.ts:391

The collision wireframe over the level: shown or hidden, built the first time it is shown.

Methods ​

set() ​

set(on): void

Defined in: apps/client/src/renderer/scene.ts:393

Shows or hides it.

Parameters ​

on ​

boolean

Returns ​

void


state() ​

state(): object

Defined in: apps/client/src/renderer/scene.ts:395

Whether it is shown, and how many pieces it draws (0 while hidden).

Returns ​

object

enabled ​

enabled: boolean

meshes ​

meshes: number