Class BouncingBehavior
Hierarchy
- BouncingBehavior
Implements
Index
Properties
Accessors
Methods
Properties
lower Radius Transition RangeSearch playground for lowerRadiusTransitionRange
Length of the distance animated by the transition when lower radius is reached
transition DurationSearch playground for transitionDuration
The duration of the animation, in milliseconds
upper Radius Transition RangeSearch playground for upperRadiusTransitionRange
Length of the distance animated by the transition when upper radius is reached
Static Easing FunctionSearch playground for EasingFunction
The easing function used by animations
Static Easing ModeSearch playground for EasingMode
The easing mode used by animations
Accessors
auto Transition Range
-
Gets a value indicating if the lowerRadiusTransitionRange and upperRadiusTransitionRange are defined automatically
Returns boolean
-
Sets a value indicating if the lowerRadiusTransitionRange and upperRadiusTransitionRange are defined automatically Transition ranges will be set to 5% of the bounding box diagonal in world space
Parameters
-
value: boolean
Returns any
-
name
-
Gets the name of the behavior.
Returns string
Methods
attachSearch playground for attach
-
Attaches the behavior to its arc rotate camera.
Parameters
-
camera: ArcRotateCamera
Defines the camera to attach the behavior to
Returns void
-
detachSearch playground for detach
-
Detaches the behavior from its current arc rotate camera.
Returns void
initSearch playground for init
-
Initializes the behavior.
Returns void
stop All AnimationsSearch playground for stopAllAnimations
-
Stops and removes all animations that have been applied to the camera
Returns void
Add a bouncing effect to an ArcRotateCamera when reaching a specified minimum and maximum radius
https://doc.babylonjs.com/how_to/camera_behaviors#bouncing-behavior