Scripting API
Scripting API
RayHit
Struct in Abyss.Core, from Abyss.Core.
One entity a ray passed through: how far along the ray, and where.
public readonly struct RayHitRemarks
Laid out as abyss_core::pick::RayHit is, 24 bytes.
Fields
Entity
public readonly ulong EntityThe entity, packed as the engine packs one.
Distance
public readonly float DistanceHow far along the ray it was hit, in world units from the ray's origin.
Point
public readonly Vector3 PointWhere it was hit, in world space.
