Skip to content

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

Interface: SceneContext ​

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

The rendering context.

Properties ​

camera ​

camera: FreeCamera

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

The camera driven by camera.ts.


engine ​

engine: Engine

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

The Babylon engine.


light ​

light: HemisphericLight

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

The sky light, so nothing is black (daylight.ts sets it by the hour and the weather).


quality ​

quality: RenderQuality

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

How the engine draws on this machine.


scene ​

scene: Scene

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

The scene.


sun ​

sun: DirectionalLight

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

The sun, low so the flat faces read (daylight.ts moves it with the hour).