API

Interface IWebXRLegacyHitTestOptions

Options used for hit testing

interface IWebXRLegacyHitTestOptions {
    testOnPointerDownOnly?: boolean;
    worldParentNode?: TransformNode;
}

Hierarchy (View Summary)

Index
testOnPointerDownOnly?: boolean

Only test when user interacted with the scene. Default - hit test every frame

worldParentNode?: TransformNode

The node to use to transform the local results to world coordinates