BlochSphereOptions

@qbead/bloch-sphere


@qbead/bloch-sphere / BlochSphereOptions

Type Alias: BlochSphereOptions

BlochSphereOptions = object & Partial<typeof BlockSphereSceneOptions>

Defined in: src/bloch-sphere.ts:35arrow-up-right

Options for the Bloch Sphere widget

Type declaration

Name
Type
Description
Defined in

cameraState?

CameraState

initial camera state

enableRotate?

boolean

Enable/disable camera rotation via mouse drag (default: true)

enableZoom?

boolean

Enable/disable zoom via mouse wheel/pinch (default: true)

fontSize?

number

font size in em

interactive?

boolean

Enable/disable all user interactions (default: true)

showGrid?

boolean

show grid

Last updated