MCPcopy 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

executeMethod · 0.80

Calls 2

removeMethod · 0.95
keysMethod · 0.80

Tested by

no test coverage detected