AutoRotationBehavior

The autoRotation behavior (BABYLON.AutoRotationBehavior) is designed to create a smooth rotation of an ArcRotateCamera when there is no user interaction.

see

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

Hierarchy

  • AutoRotationBehavior

Implements

Index

Properties

idleRotationSpeed

Find examples in Playground
idleRotationSpeed: number

Gets the default speed at which the camera rotates around the model.

idleRotationSpinupTime

Find examples in Playground
idleRotationSpinupTime: number

Gets the time (milliseconds) to take to spin up to the full idle rotation speed.

idleRotationWaitTime

Find examples in Playground
idleRotationWaitTime: number

Gets the time (milliseconds) to wait after user interaction before the camera starts rotating.

name

Find examples in Playground
name: string

Gets the name of the behavior.

rotationInProgress

Find examples in Playground
rotationInProgress: boolean

Gets a value indicating if the camera is currently rotating because of this behavior

zoomStopsAnimation

Find examples in Playground
zoomStopsAnimation: boolean

Gets the flag that indicates if user zooming should stop animation.

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

Generated using TypeDoc