Skip to content

Home > @esengine/ecs-framework-monorepo > EntityDataCollector > calculateObjectSize

EntityDataCollector.calculateObjectSize() method

Signature:

typescript
calculateObjectSize(obj: any, excludeKeys?: string[]): number;

Parameters

Parameter

Type

Description

obj

any

excludeKeys

string[]

(Optional)

Returns:

number

基于 MIT 许可证发布