Class ScreenCamera

This camera can make the pixel unit of a WebGL element equals with one of a HTML Element. If combined with maku.js, you can easily merge HTML with WebGL!

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

Hierarchy (view full)

Constructors

Properties

base: Base
camera: PerspectiveCamera
container: Scene
emitter: Emitter<any>

Methods