Skip to content

Interface: ScriptRegistry<TCamera> ​

Resolves a script asset uid to its default-exported constructor.

Type Parameters ​

Type ParameterDefault type
TCameraunknown

Methods ​

get() ​

ts
get(uid): 
  | ScriptConstructor<TCamera>
  | undefined;

Returns the constructor registered for uid, or undefined.

Parameters ​

ParameterType
uidstring

Returns ​

| ScriptConstructor<TCamera> | undefined

Suity developer documentation · API generated by TypeDoc