Takes a snapshot of the current viewer camera view and returns it as a base64 encoded string.Returns: A promise which resolves to a base64 encoded image.
All the layers the viewer uses for rendering objects and props. Rendering order generally follows the order of layers values. The same layers are also used for raycasting, where they are all enabled by default except STREAM_CONTENT_POINT which is disabled
class World { readonly worldBox: Box3 get worldSize(): Box3 get worldOrigin(): Vector3 expandWorld(box: Box3) reduceWorld(box: Box3) updateWorld() resetWorld() getRelativeOffset(offsetAmount: number = 0.001): number
Utility class for keeping track of the total dimensions of loaded objects. It’s mostly used for informative purposes