ImFusion Web SDK

InitOptions

Options for initializing the ImFusion Web SDK wrapper.

Properties

PropertyTypeDescription
dpiScale?numberDPI scale factor for high-resolution displays. Default window.devicePixelRatio
autoRender?booleanAutomatically call render() when the SDK requests a display update. See Display.onUpdateRequested. Default true
autoResize?booleanAutomatically handle canvas resize events. Updates display size and triggers re-render when the canvas container resizes. Default true
autoInputHandling?booleanAutomatically forward DOM input events (mouse, touch, wheel) to the SDK. Default true
uiAnimations?booleanEnable or disable UI animations. Default true
licenseToken?stringLicense token to activate full features and remove the watermark.

On this page