Skip to content

Home > @esengine/ecs-framework-monorepo > Float32

Float32() function

32位浮点数装饰器 标记字段使用Float32Array存储(默认类型,平衡性能和精度)

Signature:

typescript
export declare function Float32(target: any, propertyKey: string | symbol): void;

Parameters

Parameter

Type

Description

target

any

propertyKey

string | symbol

Returns:

void

基于 MIT 许可证发布