InitOptions
Options for initializing the ImFusion Web SDK wrapper.
Properties
| Property | Type | Description |
|---|---|---|
dpiScale? | number | DPI scale factor for high-resolution displays. Default window.devicePixelRatio |
autoRender? | boolean | Automatically call render() when the SDK requests a display update. See Display.onUpdateRequested. Default true |
autoResize? | boolean | Automatically handle canvas resize events. Updates display size and triggers re-render when the canvas container resizes. Default true |
autoInputHandling? | boolean | Automatically forward DOM input events (mouse, touch, wheel) to the SDK. Default true |
uiAnimations? | boolean | Enable or disable UI animations. Default true |
licenseToken? | string | License token to activate full features and remove the watermark. |