Skip to content

ECS Framework API v2.2.13


ECS Framework API / IECSDebugConfig

Interface: IECSDebugConfig

Defined in: packages/core/src/Types/index.ts:238

ECS调试配置接口

Properties

enabled

enabled: boolean

Defined in: packages/core/src/Types/index.ts:240

是否启用调试


websocketUrl

websocketUrl: string

Defined in: packages/core/src/Types/index.ts:242

WebSocket服务器URL


autoReconnect?

optional autoReconnect: boolean

Defined in: packages/core/src/Types/index.ts:244

是否自动重连


updateInterval?

optional updateInterval: number

Defined in: packages/core/src/Types/index.ts:246

数据更新间隔(毫秒)- 已弃用,使用debugFrameRate替代


debugFrameRate?

optional debugFrameRate: 60 | 30 | 15

Defined in: packages/core/src/Types/index.ts:248

调试数据发送帧率 (60fps, 30fps, 15fps)


channels

channels: object

Defined in: packages/core/src/Types/index.ts:250

数据通道配置

entities

entities: boolean

systems

systems: boolean

performance

performance: boolean

components

components: boolean

scenes

scenes: boolean

Released under the MIT License.