Appearance
copper3d / Modules / Controls/copperControls / Controls
Class: Controls
Controls/copperControls.Controls
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Controls(camera
)
Parameters
Name | Type |
---|---|
camera | PerspectiveCamera |
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
Name | Type |
---|---|
viewpoint | CameraViewPoint |
Returns
void
Defined in
src/Controls/copperControls.ts:33
updateDirectionalLight
▸ updateDirectionalLight(directionalLight?
): void
Parameters
Name | Type |
---|---|
directionalLight? | DirectionalLight |
Returns
void