Options for the quantize function.

Hierarchy

  • QuantizeOptions

Properties

pattern: RegExp

Pattern (regex) used to filter vertex attribute semantics for quantization. Default: all.

quantizationVolume: "mesh" | "scene"

Bounds for quantization grid.

quantizeColor: number

Quantization bits for COLOR_* attributes.

quantizeGeneric: number

Quantization bits for application-specific (_*) attributes.

quantizeNormal: number

Quantization bits for NORMAL attributes.

quantizePosition: number

Quantization bits for POSITION attributes.

quantizeTexcoord: number

Quantization bits for TEXCOORD_* attributes.

quantizeWeight: number

Quantization bits for WEIGHT_* attributes.

Function symbol, f(📦) → 📦, where the argument and output are a box labeled 'glTF'.

Made by Don McCurdy TypeDoc documentation Copyright 2021 under MIT license