Skip to main content
Version: 4.x

Type Alias: ViewerState

ViewerState: object

Type declaration

camera?

optional camera: object

camera.position

position: object

camera.position.x

x: number

camera.position.y

y: number

camera.position.z

z: number

camera.target

target: object

camera.target.x

x: number

camera.target.y

y: number

camera.target.z

z: number

clippingPlanes?

optional clippingPlanes: ClippingPlanesState[]

models?

optional models: ModelState[]

Defined in

packages/api/src/utilities/ViewStateHelper.ts:19