diff --git a/packages/dev/core/src/scene.ts b/packages/dev/core/src/scene.ts index 386429c5105..60263435872 100644 --- a/packages/dev/core/src/scene.ts +++ b/packages/dev/core/src/scene.ts @@ -4949,7 +4949,7 @@ export class Scene extends AbstractScene implements IAnimatable, IClipPlanesHold * @param trianglePredicate defines an optional predicate used to select faces when a mesh intersection is detected * @returns an array of PickingInfo */ - public multiPickWithRay(ray: Ray, predicate: (mesh: AbstractMesh) => boolean, trianglePredicate?: TrianglePickingPredicate): Nullable { + public multiPickWithRay(ray: Ray, predicate?: (mesh: AbstractMesh) => boolean, trianglePredicate?: TrianglePickingPredicate): Nullable { throw _WarnImport("Ray"); }