Options for the quantize function.

Hierarchy

  • QuantizeOptions

Properties

normalizeWeights: boolean

Normalize weight attributes.

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 2023, MIT license