Function: createScriptRegistry()
ts
function createScriptRegistry<TCamera>(scripts?): MapScriptRegistry<TCamera>;Creates a mutable script registry seeded from scripts.
Type Parameters
| Type Parameter | Default type |
|---|---|
TCamera | unknown |
Parameters
| Parameter | Type |
|---|---|
scripts? | Record<string, ScriptConstructor<TCamera>> |
Returns
MapScriptRegistry<TCamera>
