Skip to content

marble3 / WorldLabelOptions

Interface: WorldLabelOptions ​

Defined in: src/world-label.ts:3

Properties ​

billboard? ​

optional billboard?: boolean

Defined in: src/world-label.ts:8

Makes the card turn to the camera, like a health bar, instead of staying fixed in the world. It only turns when faceCamera() is called, every frame.


face? ​

optional face?: number

Defined in: src/world-label.ts:10

Colour of the card's face, behind the text. Default a mid grey.


side? ​

optional side?: number

Defined in: src/world-label.ts:12

Colour of the card's edge. Default a dark slate.