Skip to content

copper3d / Modules / Controls/fitView / FitViewScene

Interface: FitViewScene ​

Controls/fitView.FitViewScene

Table of contents ​

Properties ​

Properties ​

camera ​

• camera: Object

Type declaration ​

NameType
fovnumber
lookAt(x: number, y: number, z: number) => void
positionVec3Like
updateProjectionMatrix() => void

Defined in ​

src/Controls/fitView.ts:27


controls ​

• controls: Object

Type declaration ​

NameTypeDescription
handleResize?() => voidTrackballControls caches the canvas's page box and recomputes it only here; OrbitControls measures per event and does not define this.
target?Vec3LikeOrbitControls / TrackballControls' orbit pivot.

Defined in ​

src/Controls/fitView.ts:33