five-on-it / apps/client/src/renderer/gallery-camera / galleryCamera
Function: galleryCamera()
galleryCamera(
scene,canvas,heights,gallery?):GalleryCamera
Defined in: apps/client/src/renderer/gallery-camera.ts:110
Puts a free orbit camera on scene as its active camera, driven by the mouse over canvas and the keys on the window; heights are the three heights 1–3 pick, and gallery names the gallery its speed is kept for.
Parameters
scene
Scene
canvas
HTMLCanvasElement
heights
readonly number[]
gallery?
string = 'gallery'