Skip to content
EN

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