SingleFloorAnimationOptions
Constructor
constructor
constructor(parameters: object): SingleFloorAnimationOptions
Parameters:
Name | Type | Required | Default | Description |
---|---|---|---|---|
parameters | object | Yes | - | |
parameters.bounce | boolean | No | false | Bounce the entire floor |
parameters.bounceDownDelay | number | No | 0 | Time before starting bounce down |
parameters.bounceDownTime | number | No | 300 | Duration of the bounce down |
parameters.bounceGhostFactor | number | No | 0.2 | The bounce factor to applied to all ghosts grounds in SceneManager.setFloorTransition |
parameters.bounceUpDelay | number | No | 0 | Time before starting bounce up |
parameters.bounceUpTime | number | No | 300 | Duration of the bounce up |
parameters.center | boolean | No | false | Center on the floor |
parameters.centerOnOptions | ?CameraCenterOnOptions | No | null | CameraCenterOnOptions to be used if center is enabled. null will use default options |
parameters.fadeInDelay | number | No | 0 | Time before starting fade in |
parameters.fadeOutDelay | number | No | 0 | Time before starting fade out |
parameters.ghostOpacity | number | No | 0.2 | The opacity to applied to all ghosts grounds in SceneManager.setFloorTransition |
parameters.inTime | number | No | 300 | The fade in duration |
parameters.keepSiteVisible | boolean | No | true | Should the site remain visible |
parameters.outTime | number | No | 300 | The fade out duration |
parameters.pause | number | No | 300 | The pause between fade in and fade out |