Skip to main content
Version: Next

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:20