Home > @esengine/ecs-framework-monorepo > HighPrecision
HighPrecision() function
高精度数值装饰器 标记字段需要保持完整精度,存储为复杂对象而非TypedArray
Signature:
typescript
export declare function HighPrecision(target: any, propertyKey: string | symbol): void;
Parameters
Parameter | Type | Description |
---|---|---|
target | any | |
propertyKey | string | symbol |
Returns:
void