Class: WorkerRunnerRefImpl

WorkerRunnerRefImpl


new WorkerRunnerRefImpl()

Default implementation of the WorkerRunner responsible for creation and configuration of the parser within the worker.

Methods


<static> WorkerRunnerRefImpl#applyProperties(parser, params)

Applies values from parameter object via set functions or via direct assignment.

Parameters:
Name Type Description
parser Object

The parser instance

params Object

The parameter object


<static> WorkerRunnerRefImpl#processMessage(payload)

Configures the Parser implementation according the supplied configuration object.

Parameters:
Name Type Description
payload Object

Raw mesh description (buffers, params, materials) used to build one to many meshes.