DefaultXRInputSourceRayPointer
DefaultXRInputSourceRayPointer(
props
):Element
Ray pointer for the XRInputSource
props
DefaultXRInputSourceRayPointerOptions
Time in milliseconds between pointerdown and pointerup to trigger a click event
dblClickThresholdMsTime in milliseconds between the first click and the second click to trigger a dblclick event
contextMenuButtonThe button that triggers contextmenu events
makeDefaultUsed the set the default pointer inside a combined pointer
radiusThe size of the intersection sphere
minDistanceMinimal distance to trigger interactions
linePointsThe points thay make up the shape of the ray if undefined the ray goes in a straight line
directionThe direction of the ray
rayModelProperties for configuring how the ray should look
cursorModelProperties for configuring how the cursor should look
Returns
Element