GetScreenToWorldRayEx method
Get a ray trace from screen position (i.e mouse) in a viewport
Implementation
RayD GetScreenToWorldRayEx(
Vector2D position,
Camera3DD camera,
num width,
num height,
) => run(
() => _debugLabels.GetScreenToWorldRayEx(position, camera, width, height),
() => _flat.GetScreenToWorldRayEx(
position,
camera,
width.toInt(),
height.toInt(),
),
);