Interface: WorldPlane
Defined in: world-sensing.ts:94
A flat surface the host found: a floor, a wall, a table top.
label is the host's own semantic vocabulary, lower-cased and passed
through rather than mapped to a closed set. Every runtime has a different
list, it grows between releases, and an app that switches on "table" is
better served by an unrecognised string it can log than by a "other" this
package invented.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
changedAt? | readonly | number | The host's own change counter, when it has one. See worldEntryChanged. | world-sensing.ts:105 |
extents | readonly | readonly [number, number] | Size along the plane's own X and Z, metres. | world-sensing.ts:99 |
id | readonly | string | Stable for as long as the host keeps reporting the same surface. | world-sensing.ts:96 |
label | readonly | string | null | - | world-sensing.ts:101 |
orientation | readonly | WorldPlaneOrientation | - | world-sensing.ts:100 |
polygon? | readonly | readonly readonly [number, number][] | The boundary in plane space, metres, when the host provides one. | world-sensing.ts:103 |
pose | readonly | WorldPose | - | world-sensing.ts:97 |