@tripo3d/engine / applySystemPlugins
Function: applySystemPlugins()
ts
function applySystemPlugins<T>(
plugins,
engine,
definition,
instance): T;Defined in: core/plugin-utils.ts:12
让插件有机会替换系统实例。
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
plugins | EnginePlugin[] |
engine | Engine |
definition | SystemDefinition<T> |
instance | T |
Returns
T