Interface: WorldBlockIntersection
Defined in: packages/minerender/src/world/WorldBlockIntersection.ts:5
The nearest rendered block triangle hit by a world raycast.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
block | Block | Detached block data; use world setters to change the block. | packages/minerender/src/world/WorldBlockIntersection.ts:9 |
distance | number | Distance from the ray origin, in scene units. | packages/minerender/src/world/WorldBlockIntersection.ts:15 |
normal | Vector3 | Unit face normal in scene space. Sloped and rotated faces retain their geometric normal. | packages/minerender/src/world/WorldBlockIntersection.ts:13 |
point | Vector3 | Hit position in scene units. | packages/minerender/src/world/WorldBlockIntersection.ts:11 |
position | Vector3 | Integer world block coordinates of the geometry's owner. | packages/minerender/src/world/WorldBlockIntersection.ts:7 |