StackFloorAnimationOptions
Constructor
constructor
constructor(parameters: object): StackFloorAnimationOptions
Parameters:
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| parameters | object | Yes | - | |
| parameters.center | boolean | No | true | Does the floor transition will animate the camera to display nicely the transition |
| parameters.centerOnOptions | ?CenterOnOptions | No | null | This will overwrite the camera options |
| parameters.ghostOpacity | number | No | 0.2 | The opacity to applied to all ghosts grounds in SceneManager.setFloorTransition |
| parameters.hideHigherFloors | boolean | No | true | If true, the floors on top of the current one will be hide, i.e. if current floor is L3 then L4 & L5 will be hidden. |
| parameters.hideHigherFloorsSameBuildingOnly | boolean | No | true | If true, hideHigherFloors will applied only for floors on same building. Otherwise it will be applied without building consideration. |
| parameters.inTime | number | No | 500 | The fade in duration |
| parameters.keepSiteVisible | boolean | No | true | Should the site remain visible |
| parameters.minFloorCount | number | No | 1 | The threshold when the stack should be display, i.e. if a building has only one floor then we will prefer showing the building instead of the floor alone. |
| parameters.outTime | number | No | 700 | The fade out duration |
| parameters.pause | number | No | 300 | The pause between fade in and fade out |
