We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According the docs https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html Viewer param pickSurfacePrecisionEnabled set to true and do pick like this:
pickSurfacePrecisionEnabled
true
const viewer = new Viewer({ canvasId: "myCanvas" }); viewer.pickSurfacePrecisionEnabled = true; viewer.scene.input.on('click', (coords) => { const hit = viewer.scene.pick({ canvasPos: coords, pickSurfacePrecision: true, pickSurface: true, snapToEdge: true, }, new PickResult()) // hit.pickSurfacePrecision is false })
Setting param here
xeokit-sdk/src/viewer/Viewer.js
Line 118 in e842ad8
Does this param works and/or why pickSurfacePrecision is false?
pickSurfacePrecision
The text was updated successfully, but these errors were encountered:
No branches or pull requests
According the docs https://xeokit.github.io/xeokit-sdk/docs/class/src/viewer/Viewer.js~Viewer.html
Viewer param
pickSurfacePrecisionEnabled
set totrue
and do pick like this:Setting param here
xeokit-sdk/src/viewer/Viewer.js
Line 118 in e842ad8
but not used in Scene class or I not found.
Does this param works and/or why
pickSurfacePrecision
is false?The text was updated successfully, but these errors were encountered: