Skip to content

API Interface FieldEncoding

github-actions[bot] edited this page Nov 30, 2026 · 3 revisions

Interface: FieldEncoding

Defined in: src/engine/net/codec.ts:55

Per-field encoding options, from FieldOptions or a data component's replication settings.

Properties

quantize?

quantize?: number;

Defined in: src/engine/net/codec.ts:57

Round to this step and send as an integer (e.g. 0.01). Omitted: full precision.

Clone this wiki locally