MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / useIsAlignmentMode

Function useIsAlignmentMode

src/hooks/useAlignmentMode.ts:42–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 * Simple boolean check if any alignment mode is active.
41 */
42export function useIsAlignmentMode(): boolean {
43 const pickingMode = usePointPickingStore((s) => s.pickingMode);
44 const detectedPlane = useFloorPlaneStore((s) => s.detectedPlane);
45
46 return pickingMode !== 'off' || detectedPlane !== null;
47}

Callers 3

Scene3DE2EProbeFunction · 0.90
SceneContentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected