Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ removeAll
Method
removeAll
packages/effect/src/core/EffectContainer.ts:312–316 ·
view source on GitHub ↗
* @zh 移除所有效果 * @en Remove all effects
()
Source
from the content-addressed store, hash-verified
310
* @en Remove all effects
311
*/
312
removeAll(): void {
313
for
(
const
id of [...this._effects.keys()]) {
314
this.remove(id);
315
}
316
}
317
318
/**
319
* @zh 获取效果实例
Callers
1
execute
Method · 0.80
Calls
2
remove
Method · 0.95
keys
Method · 0.80
Tested by
no test coverage detected