useAbsolutePositions

useAbsolutePositions: undefined | boolean

Determines whether unquantized positions are specified in relative or absolute coordinates. Coordinates very far from the origin can produce precision errors resulting in visual artifacts. If useAbsolutePositions is false, then these precision errors are mitigated by applying a translation to the vertex positions to move them closer to the origin, and then applying the inverse translation (using 64-bit precision) when drawing the graphics. Using absolute positions is not generally recommended. Default: false.

note This property has no effect if GraphicsRequestProps.quantizePositions is true.

Defined in

Last Updated: 30 November, 2023