Interface: WorldEntityIntersection
Defined in: packages/minerender/src/world/WorldEntityIntersection.ts:5
The nearest rendered mob triangle hit by a world entity raycast.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
distance | number | Distance from the ray origin, in scene units. | packages/minerender/src/world/WorldEntityIntersection.ts:17 |
normal | Vector3 | Unit face normal in scene space. | packages/minerender/src/world/WorldEntityIntersection.ts:15 |
object | EntityObject | Live rendered root, removed and disposed when its column unloads or the world clears. | packages/minerender/src/world/WorldEntityIntersection.ts:11 |
point | Vector3 | Hit position in scene units. | packages/minerender/src/world/WorldEntityIntersection.ts:13 |
position | Vector3 | Copied saved position in Minecraft block units, including fractional coordinates. | packages/minerender/src/world/WorldEntityIntersection.ts:9 |
type | string | Minecraft entity ID, such as minecraft:pig. | packages/minerender/src/world/WorldEntityIntersection.ts:7 |