Skip to content

copper3d / Modules / Renderer/copperMSceneRenderer / copperMSceneRenderer

Class: copperMSceneRenderer

Renderer/copperMSceneRenderer.copperMSceneRenderer

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new copperMSceneRenderer(container, numberOfScene, cameraPosition?)

Parameters

NameType
containerHTMLDivElement
numberOfScenenumber
cameraPosition?positionType

Defined in

src/Renderer/copperMSceneRenderer.ts:21

Properties

cameras

cameras: PerspectiveCamera[]

Defined in

src/Renderer/copperMSceneRenderer.ts:12


canvas

canvas: HTMLCanvasElement

Defined in

src/Renderer/copperMSceneRenderer.ts:17


container

container: HTMLDivElement

Defined in

src/Renderer/copperMSceneRenderer.ts:9


elems

elems: HTMLDivElement[]

Defined in

src/Renderer/copperMSceneRenderer.ts:10


numberOfScene

numberOfScene: number

Defined in

src/Renderer/copperMSceneRenderer.ts:8


pmremGenerator

pmremGenerator: PMREMGenerator

Defined in

src/Renderer/copperMSceneRenderer.ts:19


renderer

renderer: WebGLRenderer

Defined in

src/Renderer/copperMSceneRenderer.ts:13


sceneInfos

sceneInfos: copperMScene[]

Defined in

src/Renderer/copperMSceneRenderer.ts:18


scenes

scenes: Scene[]

Defined in

src/Renderer/copperMSceneRenderer.ts:11

Methods

animate

animate(): void

Returns

void

Defined in

src/Renderer/copperMSceneRenderer.ts:139


getCubeMapTexture

Private getCubeMapTexture(environment): Promise<unknown>

Parameters

NameType
environmentenvironmentType

Returns

Promise<unknown>

Defined in

src/Renderer/copperMSceneRenderer.ts:76


init

init(): void

Returns

void

Defined in

src/Renderer/copperMSceneRenderer.ts:39


renderSceneInfo

renderSceneInfo(sceneInfo): void

Parameters

NameType
sceneInfocopperMScene

Returns

void

Defined in

src/Renderer/copperMSceneRenderer.ts:94


resizeRendererToDisplaySize

resizeRendererToDisplaySize(): void

Returns

void

Defined in

src/Renderer/copperMSceneRenderer.ts:117


updateEnvironment

updateEnvironment(sceneIn): void

Parameters

NameType
sceneIncopperMScene

Returns

void

Defined in

src/Renderer/copperMSceneRenderer.ts:64