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

idleRotationSpeed: number

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

idleRotationSpinupTime

idleRotationSpinupTime: number

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

idleRotationWaitTime

idleRotationWaitTime: number

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

name

name: string

Gets the name of the behavior.

rotationInProgress

rotationInProgress: boolean

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

zoomStopsAnimation

zoomStopsAnimation: boolean

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

Methods

attach

  • Attaches the behavior to its arc rotate camera.

    Parameters

    Returns void

detach

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

    Returns void

init

  • init(): void
  • Initializes the behavior.

    Returns void

Generated using TypeDoc