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
In the documentation for Scene.multiPickWithRay it says the following:
Predicate function used to determine eligible meshes. Can be set to null.
However the typescript interface shows:
multiPickWithRay(ray: Ray, predicate: (mesh: AbstractMesh) => boolean, trianglePredicate?: TrianglePickingPredicate): Nullable<PickingInfo>
requiring that a predicate is passed. I was able to // @ts-ignore this but that feels dirt.
Screenshots
The text was updated successfully, but these errors were encountered:
cc @RaananW
Sorry, something went wrong.
Scene.multiPickWithRay signature correction
713a17c
Fixes BabylonJS#12614
Changelog says this was released in 5.9.0, but I still have the issue with scene.multiPickWithRay in 5.14.1.
scene.multiPickWithRay
Looks like this signature in scene.ts may also need to be updated https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/scene.ts#L4952
Changelog says this was released in 5.9.0, but I still have the issue with scene.multiPickWithRay in 5.14.1. Looks like this signature in scene.ts may also need to be updated https://github.com/BabylonJS/Babylon.js/blob/master/packages/dev/core/src/scene.ts#L4952 cc @RaananW
Good catch. #12873
RaananW
Successfully merging a pull request may close this issue.
In the documentation for Scene.multiPickWithRay it says the following:
Predicate function used to determine eligible meshes. Can be set to null.
However the typescript interface shows:
multiPickWithRay(ray: Ray, predicate: (mesh: AbstractMesh) => boolean, trianglePredicate?: TrianglePickingPredicate): Nullable<PickingInfo>
requiring that a predicate is passed. I was able to // @ts-ignore this but that feels dirt.
Screenshots
The text was updated successfully, but these errors were encountered: