label
Since 0.6
Use it in a scene entity's components list as { "type": "label", … }. The contract writes the fields flat and refuses unknown keys.
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
textKey | string | yes | |||
size | number | yes | |||
billboard | boolean | yes |
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
}