Talos docs

label

Since 0.6
Plain text

Use it in a scene entity's components list as { "type": "label", … }. The contract writes the fields flat and refuses unknown keys.

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
textKeystringyes
sizenumberyes
billboardbooleanyes

Rules that can refuse it

Example

From the contract's tested fixture fixtures/contract/full20/scene.json#hazard-sign.

{
  "type": "label",
  "textKey": "label.sign",
  "size": 0.3,
  "billboard": true
}