Skip to content

ECS Framework API v2.1.50


ECS Framework API / IComponentDebugData

Interface: IComponentDebugData

Defined in: Types/index.ts:471

组件调试数据接口

Properties

componentTypes

componentTypes: number

Defined in: Types/index.ts:473

组件类型数


componentInstances

componentInstances: number

Defined in: Types/index.ts:475

组件实例总数


componentStats

componentStats: object[]

Defined in: Types/index.ts:477

组件分布统计

typeName

typeName: string

instanceCount

instanceCount: number

memoryPerInstance

memoryPerInstance: number

totalMemory

totalMemory: number

poolSize

poolSize: number

poolUtilization

poolUtilization: number

averagePerEntity?

optional averagePerEntity: number

Released under the MIT License.