installGlobals
installGlobals(
k): () =>void
Defined in: packages/threeplay/src/globals.ts:53
Copies the engine API onto globalThis, the way kaplay’s global mode does.
Functions are copied; every other field becomes a live accessor to k, so
camera3d = new PerspectiveCamera() in global mode really swaps the camera.
Returns a function that removes what it installed.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”() => void