World units, whatever the distance.
World units per unit of distance along the ray.
The pixels on screen it stands for (see fromCamera); 0: unknown.
ReadonlybaseWorld units, whatever the distance.
ReadonlyperWorld units per unit of distance along the ray.
ReadonlypixelsThe pixels on screen it stands for (see fromCamera); 0: unknown.
The threshold at distance along the ray, in world units: at least minPixels on screen
(e.g. half a wide line's width) when it knows its pixels.
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).