Methods
View
lookAt
Adjusts the viewbox so that the specified objects are visible.
Ids of the objects to look at.
Type | Required |
---|---|
Array[String] | Yes |
Options for adjusting the viewbox.
Type | Required |
---|---|
Object | No |
Properties
If any of the objects are visible the default value for retainStoreys is true, otherwise the default value is false.
Name | Type | Required | Description |
---|---|---|---|
expand | Number or Vector2 | No | Expand the view in meters surrounding the objects |
retainStoreys | Boolean | No | Keep current storeys |
Updated 12 Sep 2024
Did this page help you?