Skip to content

Type Alias: TextSizing ​

ts
type TextSizing = 'screen' | 'world';

Experimental

screen: font sizes and offsets are CSS px regardless of camera distance or zoom (scaled per frame). world: sizes are world units (in 2D pixel space the two are identical).

Released under the MIT License.