Skip to content

ECS Framework API v2.1.50


ECS Framework API / IECSDebugConfig

Interface: IECSDebugConfig

Defined in: Types/index.ts:244

ECS调试配置接口

Properties

enabled

enabled: boolean

Defined in: Types/index.ts:246

是否启用调试


websocketUrl

websocketUrl: string

Defined in: Types/index.ts:248

WebSocket服务器URL


autoReconnect?

optional autoReconnect: boolean

Defined in: Types/index.ts:250

是否自动重连


updateInterval?

optional updateInterval: number

Defined in: Types/index.ts:252

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


debugFrameRate?

optional debugFrameRate: 60 | 30 | 15

Defined in: Types/index.ts:254

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


channels

channels: object

Defined in: Types/index.ts:256

数据通道配置

entities

entities: boolean

systems

systems: boolean

performance

performance: boolean

components

components: boolean

scenes

scenes: boolean

Released under the MIT License.