IModuleAsset interface

Represents an asset shared between a module and the platform, via a name identifier's pre-defined by the module configuration.

Signature:

export interface IModuleAsset 

Methods

MethodDescription
addToOutput(name)Mark this asset to be available to the Oooh platform after the module has finished running

IModuleAsset.addToOutput() method

Warning: This API is now obsolete.

Use AssetManager.addToOutput() instead

Mark this asset to be available to the Oooh platform after the module has finished running

Signature:

addToOutput(name: string): void;

Parameters

ParameterTypeDescription
namestringThe identifier configured in the module setup

Returns:

void