Reference·JavaScript · @bimworks/viewer3dJavaScript

ViewStateSnapshot

Interface in @bimworks/viewer3d.

API catalogue · @bimworks/viewer3d · Interface

TypeScript#
interface ViewStateSnapshot

A view as Viewer3d.captureViewState took it; a value, not live

Members#

Member Kind Description
camera Property The camera, as Camera.getViewpoint gives it (measurement frame, metres)
objects Property Visibility, colours, on-top, sectionable, pickable and x-ray, @bimworks/viewercommon!ObjectStateManager.captureObjectState
sections Property How section planes cut the model, SectionPlanes.getState

camera#

TypeScript#
readonly camera: ViewPoint

The camera, as Camera.getViewpoint gives it (measurement frame, metres)

objects#

TypeScript#
readonly objects: ObjectStateSnapshot

Visibility, colours, on-top, sectionable, pickable and x-ray, @bimworks/viewercommon!ObjectStateManager.captureObjectState

sections#

TypeScript#
readonly sections: SectionPlanesState

How section planes cut the model, SectionPlanes.getState