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

Function createECSAPI

packages/core/src/ECS/Core/FluentAPI/ECSFluentAPI.ts:185–191  ·  view source on GitHub ↗
(
    scene: IScene,
    querySystem: QuerySystem,
    eventSystem: TypeSafeEventSystem
)

Source from the content-addressed store, hash-verified

183 * @returns ECS流式API实例
184 */
185export function createECSAPI(
186 scene: IScene,
187 querySystem: QuerySystem,
188 eventSystem: TypeSafeEventSystem
189): ECSFluentAPI {
190 return new ECSFluentAPI(scene, querySystem, eventSystem);
191}
192
193/**
194 * 全局ECS流式API实例(需要在使用前初始化)

Callers 2

setSceneMethod · 0.90
initializeECSFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected