Viewport Reset Offset
When calculating how zoomed-out a scene is and the positions of props when a scene is loaded and when a scene's viewport is reset, a viewOffset property is going to be considered to leave extra space for your props.
Default Behavior
By default, this value is set to 0.2
.
Setting ViewOffset
The following scene uses the same config as the one above but with viewOffset set to 0.9
:
- Global Config Generator
- Config
new GlobalConfigGenerator().viewOffset(0.9)
config.viewOffset = 0.9