UNPKG

@qctrl/visualizer

Version:

The Q-CTRL Visualizer is a package for displaying animated 3d Bloch sphere visualizations.

17 lines (16 loc) 623 B
import { Group } from "three"; import { Styles } from "../../styles/theme"; import { CustomLabel } from "../../types"; interface CreateLabelsProps { style: Styles; customLabels?: CustomLabel[]; } /** * Creates sprite meshes for all required labels for an Element */ export default function createLabels({ style: { indicatorOrb, nonErrorStateOrb, labels: { color, offset }, }, customLabels, }: CreateLabelsProps): { labelsGroup: Group<import("three").Object3DEventMap>; nonErrorStateLabel: Group<import("three").Object3DEventMap>; indicatorPoint: Group<import("three").Object3DEventMap>; }; export {};