Skip to content

ECS Framework API v2.1.50


ECS Framework API / Float32

Function: Float32()

Float32(target, propertyKey): void

Defined in: ECS/Core/SoAStorage.ts:43

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

Parameters

target

any

propertyKey

string | symbol

Returns

void

Released under the MIT License.