Skip to content

Type Alias: ScriptConstructor<TCamera> ​

ts
type ScriptConstructor<TCamera> = (new (context) => object) & Partial<ScriptComponentStatic<TCamera>>;

Constructor shape used by the runtime; not instanceof based. Subclasses may declare the optional static metadata (runtimeKey/displayName).

Type Parameters ​

Type ParameterDefault type
TCameraunknown

Suity developer documentation · API generated by TypeDoc