setAnimationDuration method

void setAnimationDuration(
  1. int duration
)

Set the duration the camera movement should be animated for, set to 0 to disable animation

Implementation

void setAnimationDuration(int duration) {
  _animationDuration = duration;
}