ECS Framework API / Float32
Function: Float32()
Float32(
target,propertyKey):void
Defined in: packages/core/src/ECS/Core/SoAStorage.ts:43
32位浮点数装饰器 标记字段使用Float32Array存储(默认类型,平衡性能和精度)
Parameters
target
any
propertyKey
string | symbol
Returns
void