The viewport the pointer is on.
The pointer's position on the canvas, in CSS pixels from its left side.
The pointer's position on the canvas, in CSS pixels from its top side.
Whether the objects drawn transparent are hit, x-ray included.
ReadonlytransparentWhether the objects drawn transparent are hit, x-ray included.
ReadonlyxThe pointer's position on the canvas, in CSS pixels from its left side.
ReadonlyyThe pointer's position on the canvas, in CSS pixels from its top side.
All the objects under the pointer that filter keeps, sorted as seen (see
ViewerRaycaster.raycast).
Optionalfilter: PointerIntersectionsFilterThe objects hit (default: all).
The object seen under the pointer among those filter keeps, the others see-through; null
when none.
Optionalfilter: PointerIntersectionsFilterThe objects hit (default: all).
StaticfromThe objects under a pointer event: at its position on the canvas, the objects drawn transparent hit while Shift is held.
The objects under a pointer on the viewport's canvas, for one pointer event: the viewport gives it to the operator's handlers and to the camera controls. Each question is raycast (
ViewerRaycaster.raycast) at its first read and kept by filter: the consumers asking the same of one event raycast once, and nothing is raycast when none asks. A filter is told by its reference: pass the same function (e.g. a class's arrow property) to share its hits.The ray goes through the pointer from the viewport's camera as it is at the first read; the lines are hit within the engine's
settings.scene.lineThresholdPixelsof the pointer. None is hit while the viewport is not mounted.