Skip to content

copper3d / Modules / Controls/copperControls / Controls

Class: Controls

Controls/copperControls.Controls

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Controls(camera)

Parameters

NameType
cameraPerspectiveCamera

Defined in

src/Controls/copperControls.ts:7

Properties

currentCamera

Private currentCamera: PerspectiveCamera

Defined in

src/Controls/copperControls.ts:3


directionalLight

Private directionalLight: null | DirectionalLight = null

Defined in

src/Controls/copperControls.ts:4


viewpoint

Private viewpoint: CameraViewPoint

Defined in

src/Controls/copperControls.ts:5

Methods

setCameraViewPoint

setCameraViewPoint(): void

Returns

void

Defined in

src/Controls/copperControls.ts:12


updateCameraViewPoint

updateCameraViewPoint(viewpoint): void

Parameters

NameType
viewpointCameraViewPoint

Returns

void

Defined in

src/Controls/copperControls.ts:33


updateDirectionalLight

updateDirectionalLight(directionalLight?): void

Parameters

NameType
directionalLight?DirectionalLight

Returns

void

Defined in

src/Controls/copperControls.ts:38