Skip to content
EN

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 开发者文档 · API 由 TypeDoc 从声明文件生成