Class: AEDataLoader

PIXI.AEDataLoader

new PIXI.AEDataLoader ()

Create assets and layers, also load all images includes AfterEffects animation.

Properties:
Name Type Description
imagePathProxy function

Callback with image path before load image. If modify image path before load image, override this member and return newly path

createImageLoader function

Create PIXI.loader.Loader for loading image. If create PIXI.loader.Loader for you want, override this member and can return another loader

Methods

loadJSON (jsonPath)Promise

Load JSON data by url

Name Type Description
jsonPath string

The JSON url

Returns:
Type Description
Promise

loadJSONWithInterceptor (jsonPath, interceptor)Promise

Load JSON data by url with PIXI.AEDataInterceptor

Name Type Description
jsonPath string

The JSON url

interceptor PIXI.AEDataInterceptor

The AEDataInterceptor instance

Returns:
Type Description
Promise