Class Base

By extending this class, you can kickstart a basic three.js scene easily.

Demo: https://kokomi-js.vercel.app/examples/#base

Constructors

Properties

animator: Animator
camera: OrthographicCamera | PerspectiveCamera
clock: Clock
composer: null | EffectComposer<WebGLRenderTarget<Texture>>
container: HTMLElement
iMouse: IMouse
interactionManager: InteractionManager
keyboard: Keyboard
physics: Physics
renderer: WebGLRenderer
resizer: Resizer
scene: Scene

Methods

  • Parameters

    • name: string = ...

    Returns Promise<void>