Import
Example
Notes
- The container must have a width and a height.
- The constructor starts the render loop. Do not add a second loop.
- Start the geometry kernel separately, before you create elements.
dispose()stops the loop and removes the canvas.
Constructor
Properties
THREE.Scene
THREE.WebGLRenderer
PlanCamera
THREE.PerspectiveCamera
HTMLElement
ICanvasTheme
activeTheme
THREE.GridHelper | undefined
Methods
generateTheme
toggleTheme
setup
toggleGrid
hexToRgb
captureView
camera to a PNG data-URL, off-screen at an arbitrary resolution.