Interface Renderer

interface Renderer {
    domElement: HTMLCanvasElement;
    render(scene: Object3D<Object3DEventMap>, camera: Camera): void;
    setSize(width: number, height: number, updateStyle?: boolean): void;
}

Implemented by

Properties

Methods

Properties

domElement: HTMLCanvasElement

Methods

  • Parameters

    Returns void

  • Parameters

    • width: number
    • height: number
    • OptionalupdateStyle: boolean

    Returns void