Function next

  • load the next level

    Parameters

    • Optionaloptions: {
          container: any;
          flatten: undefined | boolean;
          onLoaded: undefined | Function;
      }

      additional optional parameters

      • container: any

        container in which to load the specified level

      • flatten: undefined | boolean

        if true, flatten all objects into the given container

      • onLoaded: undefined | Function

        callback for when the level is fully loaded

    Returns boolean

    true if the next level was successfully loaded

    next

    level