SceneLoader

Loader for scene files.

Constructor

new L3D.SceneLoader()

Extends

Methods

load(url) → nullable Asset

Overrides:

Load an asset from the given URL. If the load is asynchronous, such as from a remote URL, then the asset is returned with its state set to Loading, and when the asynchronous load finishes, it is set to Loaded. The users of the asset will asset will look at its state to see if it's ready to be used. Note that the state of assets is Unloaded by default, so the state should always be set by the AssetLoader loader.

Parameters
url String

The url of the asset.

Returns
Asset

The loaded asset.