Quantization.quantize Function

Return pos quantized to the range [origin, origin + rangeScale].

quantize(pos: number, origin: number, scale: number, rangeScale: numberrangeScale16): number

@see unquantize for the inverse operation.

Parameter Type Description
pos number  
origin number  
scale number  
rangeScale number  

Returns - number

Defined in

Last Updated: 14 November, 2024