Skip to content

Function: createScriptRegistry() ​

ts
function createScriptRegistry<TCamera>(scripts?): MapScriptRegistry<TCamera>;

Creates a mutable script registry seeded from scripts.

Type Parameters ​

Type ParameterDefault type
TCameraunknown

Parameters ​

ParameterType
scripts?Record<string, ScriptConstructor<TCamera>>

Returns ​

MapScriptRegistry<TCamera>

Suity developer documentation · API generated by TypeDoc