index
@cognite/reveal supports Node16 module resolution, and if enabled in the consuming application will expose three modules:
- @cognite/reveal is the main module and has the main entry point of Reveal,
Cognite3DViewer. CAD models are represented byCogniteCadModeland points clouds byCognitePointCloudModel. - @congite/reveal/tools contains a set of tools, e.g.
AxisViewTool,TimelineTool, andHtmlOverlayToolthat works withCognite3DViewer. - @cognite/reveal/extensions/datasource allows providing custom data sources for geometry and model metadata.
note
If the consuming application does not enable Node16 module resolution, then all types must be imported from @cognite/reveal.