True once this Component has been destroyed.
Don't use this Component if this is true
.
Protected
dirtyUnique ID of this Component.
Readonly
viewThe View to which this ResolutionScale belongs.
Gets if resolution scaling is currently applied.
This is true
when View.renderMode is
in ResolutionScale.renderModes.
Gets which rendering modes in which to apply ResolutionScale.
Default value is [FastRender].
Sets which rendering modes in which to apply ResolutionScale.
Default value is [FastRender].
Gets the scale when ResolutionScale is applied.
Default is 1.0
.
Sets the scale when ResolutionScale is applied.
Default is 1.0
.
Protected
cleanForces this component to action any deferred state updates.
Protected
cleanGives this component an opportunity to action any defered state updates.
Protected
errorProtected
Logs an error for this component to the JavaScript console.
The console message will have this format: [ERROR] [<component type> =<component id>: <message>
The error message to log
Protected
logProtected
Logs a message for this component.
The message will have this format: [LOG] [<component type> <component id>: <message>
The message to log
Protected
setFlags this component as having a defered state updates it needs to perform.
Gets the current configuration of this ResolutionScale.
Protected
warnProtected
Logs a warning for this component to the JavaScript console.
The console message will have this format: [WARN] [<component type> =<component id>: <message>
The warning message to log
Emits an event when the Component has been destroyed.
Configures canvas resolution scaling for a View.
See @xeokit/sdk/viewer for usage info.