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

Function isTracking

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

* 检查实体是否正在被此系统跟踪 * Check if an entity is being tracked by this system * * @param entity 要检查的实体 / The entity to check * @returns 是否正在跟踪 / Whether the entity is being tracked

(entity: Entity)

Source from the content-addressed store, hash-verified

1033 * @returns 是否正在跟踪 / Whether the entity is being tracked
1034 */
1035 public isTracking(entity: Entity): boolean {
1036 return this._entityCache.isTracked(entity);
1037 }
1038
1039 /**
1040 * 当实体的组件发生变化时由 Scene 调用

Callers

nothing calls this directly

Calls 1

isTrackedMethod · 0.80

Tested by

no test coverage detected