![]() |
Lysa
0.0
Lysa 3D Engine
|
Base result type for a ray intersection, containing the geometric hit data.
Lua full name: lysa.RayHit
Properties | |
| float3 | point |
| World-space hit point. | |
| float3 | normal |
| Surface normal at the hit point (unit vector). | |
| number | distance |
| Distance from the ray origin to the hit point. | |
| float3 point |
World-space hit point.
| float3 normal |
Surface normal at the hit point (unit vector).
| number distance |
Distance from the ray origin to the hit point.