Documentation
    Preparing search index...

    Variable initialStateConst

    initialState: {
        _measurements: ObserveAnnotationMeasurementResult;
        advancedDetails: boolean;
        creationType: AnnotationMeasurementType;
        creationTypePlanar: CreationTypePlanar;
        cursorCoordinates: boolean;
        enoughDepthDataLoaded: boolean;
        filterQuery: string;
        ui: UIMode;
        unitSystem: UnitSystem;
        visibleMeasurementIds: AnnotationMeasurement.AnnotationMeasurementId[];
    } = ...

    Type Declaration

    • _measurements: ObserveAnnotationMeasurementResult
    • advancedDetails: boolean

      Whether advanced details are shown in the measurement UI.

    • creationType: AnnotationMeasurementType

      The type of measurement being created (orthogonal, planar, etc.).

    • creationTypePlanar: CreationTypePlanar

      The planar creation type for when creationType is planar (projection or raycast).

    • cursorCoordinates: boolean

      Whether cursor coordinates are shown in the measurement UI.

    • enoughDepthDataLoaded: boolean

      Whether enough depth data has been loaded to facilitate accurate measurement creation.

    • filterQuery: string
    • ui: UIMode

      The current UI mode with associated state-specific data. Derived from internal state (_ui) with hydrated measurement objects.

    • unitSystem: UnitSystem

      The unit system used for measurements (metric or imperial).

    • visibleMeasurementIds: AnnotationMeasurement.AnnotationMeasurementId[]

      IDs of measurements that should be visible in the 3D viewport. Derived from internal state and UI mode.