Properties
aspect
controls
enabled
Extensions typically need to support being turned on/off with no impact on potentially other active extensions.
fieldOfView
options
renderingCamera
Methods
disableRotations
enableRotations
on
- eventType: CameraEvent
- listener: The handler for the events with CameraEventPayload arguments
removeListener
- e: CameraEvent
- handler: The handler for the events to unsubscribe
setCameraPlanes
- targetVolume: Box3
- optional offsetScale: Works as a linear tolerance to the volume parameter
setCameraView
- objectIds: The object ids that make up the volume
- transition: Whether or not to make the transition animated
- optional fit: Linear tolerance
- view: Explicit view of different possible type: CanonicalView, SpeckleView, InlineView
- transition: Whether or not to make the transition animated
- optional fit: Linear tolerance
- bounds: Box3
- transition: Whether or not to make the transition animated
- optional fit: Linear tolerance
setOrthoCameraOn
setPerspectiveCameraOn
toggleCameras
Typedefs
CameraEvent
CameraEventPayload
CameraControllerOptions
CameraProjection
CanonicalView
InlineView
- position: The position of the camera
- target: The point in space where the camera looks at Returns: void