MCPcopy Create free account
hub / github.com/esengine/esengine / clearEntityCache

Function clearEntityCache

packages/core/src/ECS/Systems/EntitySystem.ts:475–477  ·  view source on GitHub ↗

* 清除实体缓存(内部使用) * 当Scene中的实体发生变化时调用

()

Source from the content-addressed store, hash-verified

473 * 当Scene中的实体发生变化时调用
474 */
475 public clearEntityCache(): void {
476 this._entityCache.invalidate();
477 }
478
479 /**
480 * 完全重置实体跟踪状态

Callers

nothing calls this directly

Calls 1

invalidateMethod · 0.45

Tested by

no test coverage detected