animationInterval
AccessorStatic
Controls how frequently the application polls for changes that may require a new animation frame to be requested. Such changes include resizing a Viewport or changing the device pixel ratio by zooming in or out in the browser. The default interval is 1 second. It may be desirable to override the default for specific apps and/or devices.
- Increasing the interval can conserve battery life on battery-powered devices at the expense of slower response to resize events.
- An application that only displays a single Viewport whose dimensions only change when the dimensions of the application window change, and which does not support changing application zoom level, could disable the interval altogether.
animationInterval: undefined | BeDuration
Returns - undefined | BeDuration
SetterStatic
animationInterval(interval: undefined | BeDuration): void
Parameter | Type | Description |
---|---|---|
interval | undefined | BeDuration |
Returns - void
Defined in
- core/frontend/src/IModelApp.ts Line 469
Last Updated: 25 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.