Skip to content

Add option to enable or disable Entity#offset #514

Closed
@xeolabs

Description

Breaking change

Entity#offset capability is now disabled by default, and needs to be enabled if we want to use it:

const myViewer = new Viewer(myCanvas, {
    enableOffsets: true
});

Not all applications use Entity#offset, so it makes sense not to impose that overhead on all applications.

See here for a demo of Entity#offset: https://xeokit.github.io/xeokit-sdk/examples/#BIMOffline_XKT_metadata_moveStoreys

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions