Const
Default InspectionRegistry consulted by inspectDataModel when no registry is supplied. Pre-populated with the built-ins from dataModelInspector/inspections.
registry
Plug-ins extend the singleton on import:
import {DEFAULT_INSPECTION_REGISTRY} from "@xeokit/sdk/inspect/dataModel";DEFAULT_INSPECTION_REGISTRY.register({ codes: ["MyApp/CHECK_NAMING"], description: "Enforce DataObject-naming convention", run(dataModel) { ... },}); Copy
import {DEFAULT_INSPECTION_REGISTRY} from "@xeokit/sdk/inspect/dataModel";DEFAULT_INSPECTION_REGISTRY.register({ codes: ["MyApp/CHECK_NAMING"], description: "Enforce DataObject-naming convention", run(dataModel) { ... },});
Default InspectionRegistry consulted by inspectDataModel when no
registryis supplied. Pre-populated with the built-ins from dataModelInspector/inspections.Plug-ins extend the singleton on import: