Phaser API Documentation

  Version: 
calcDuration()

Description:

Calculates the total duration of the timeline.

Computes all tween durations and returns the full duration of the timeline.

The resulting number is stored in the timeline, not as a return value.

Examples:
Since: 3.0.0
Source: src/tweens/Timeline.js (Line 467)