BouncingBehavior

Add a bouncing effect to an ArcRotateCamera when reaching a specified minimum and maximum radius

see

http://doc.babylonjs.com/how_to/camera_behaviors#bouncing-behavior

Hierarchy

  • BouncingBehavior

Implements

Index

Properties

autoTransitionRange

Find examples in Playground
autoTransitionRange: 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

lowerRadiusTransitionRange

Find examples in Playground
lowerRadiusTransitionRange: number

Length of the distance animated by the transition when lower radius is reached

name

Find examples in Playground
name: string

Gets the name of the behavior.

transitionDuration

Find examples in Playground
transitionDuration: number

The duration of the animation, in milliseconds

upperRadiusTransitionRange

Find examples in Playground
upperRadiusTransitionRange: number

Length of the distance animated by the transition when upper radius is reached

Static EasingFunction

Find examples in Playground
EasingFunction: BackEase

The easing function used by animations

Static EasingMode

Find examples in Playground
EasingMode: number

The easing mode used by animations

Methods

attach

Find examples in Playground
  • Attaches the behavior to its arc rotate camera.

    Parameters

    Returns void

detach

Find examples in Playground
  • detach(): void
  • Detaches the behavior from its current arc rotate camera.

    Returns void

init

Find examples in Playground
  • init(): void
  • Initializes the behavior.

    Returns void

stopAllAnimations

Find examples in Playground
  • stopAllAnimations(): void
  • Stops and removes all animations that have been applied to the camera

    Returns void

Generated using TypeDoc