Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetGroupLoader

Hierarchy

  • AssetGroupLoader

Index

Constructors

constructor

Properties

Private _assetFactory

_assetFactory: AssetFactory

Methods

Private _createGroup

load

  • Loads an AssetGroup defined by a JSON structure.

    Expected JSON structure by using the interfaces above: { assets [ { name : string, type : AssetType (use the string value), source : string } ] }

    Note, the returned AssetGroup will be in an unloaded state.

    The file must be a JSON file.

    Parameters

    • path: string

    Returns Promise<AssetGroup>

loadFromAsset

loadFromMemory

Generated using TypeDoc