World units, whatever the distance.
World units per unit of distance along the ray.
ReadonlybaseWorld units, whatever the distance.
ReadonlyperWorld units per unit of distance along the ray.
The threshold at distance along the ray, in world units.
StaticfromA tolerance of pixels on the screen of camera, drawn viewportHeight pixels high (its
zoom included): the view's height is the caller's, the scene has none. Throws for a camera
neither perspective nor orthographic.
The tolerance, e.g. the scene's settings.scene.lineThresholdPixels.
How close to a line a ray must pass to hit it, in world units:
base + perDistance × distance, the distance along the ray. A tolerance of a few pixels on screen isperDistancealone through a perspective camera (a pixel covers more the farther),basealone through an orthographic one (a pixel covers the same everywhere): see fromCamera. Used for the lines: a part drawing lines is hit by its segments (seePartRaycaster.raycast).