TextOpts
Defined in: packages/threeplay/src/plugins/hud/types.ts:16
Properties
Section titled “Properties”align?
Section titled “align?”
optionalalign?:"left"|"center"|"right"
Defined in: packages/threeplay/src/plugins/hud/types.ts:23
optionalfont?:string
Defined in: packages/threeplay/src/plugins/hud/types.ts:20
CSS font family (default system-ui, sans-serif).
outline?
Section titled “outline?”
optionaloutline?:boolean
Defined in: packages/threeplay/src/plugins/hud/types.ts:27
Dark outline for readability over the 3D scene (default true).
optionalsize?:number
Defined in: packages/threeplay/src/plugins/hud/types.ts:18
Font size in logical pixels (default 16).
weight?
Section titled “weight?”
optionalweight?:number|"normal"|"bold"
Defined in: packages/threeplay/src/plugins/hud/types.ts:25
Bold, or a CSS font weight.
width?
Section titled “width?”
optionalwidth?:number
Defined in: packages/threeplay/src/plugins/hud/types.ts:22
Wrap width in logical pixels.