|
@@ -4419,7 +4419,7 @@ export class Scene extends AbstractScene implements IAnimatable {
|
|
* @param x position on screen
|
|
* @param x position on screen
|
|
* @param y position on screen
|
|
* @param y position on screen
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must be enabled, visible and with isPickable set to true
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must be enabled, visible and with isPickable set to true
|
|
- * @param fastCheck Launch a fast check only using the bounding boxes. Can be set to null.
|
|
|
|
|
|
+ * @param fastCheck defines if the first intersection will be used (and not the closest)
|
|
* @param camera to use for computing the picking ray. Can be set to null. In this case, the scene.activeCamera will be used
|
|
* @param camera to use for computing the picking ray. Can be set to null. In this case, the scene.activeCamera will be used
|
|
* @param trianglePredicate defines an optional predicate used to select faces when a mesh intersection is detected
|
|
* @param trianglePredicate defines an optional predicate used to select faces when a mesh intersection is detected
|
|
* @returns a PickingInfo
|
|
* @returns a PickingInfo
|
|
@@ -4438,7 +4438,7 @@ export class Scene extends AbstractScene implements IAnimatable {
|
|
* @param x position on screen
|
|
* @param x position on screen
|
|
* @param y position on screen
|
|
* @param y position on screen
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must be enabled, visible and with isPickable set to true
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must be enabled, visible and with isPickable set to true
|
|
- * @param fastCheck Launch a fast check only using the bounding boxes. Can be set to null.
|
|
|
|
|
|
+ * @param fastCheck defines if the first intersection will be used (and not the closest)
|
|
* @param camera to use for computing the picking ray. Can be set to null. In this case, the scene.activeCamera will be used
|
|
* @param camera to use for computing the picking ray. Can be set to null. In this case, the scene.activeCamera will be used
|
|
* @returns a PickingInfo (Please note that some info will not be set like distance, bv, bu and everything that cannot be capture by only using bounding infos)
|
|
* @returns a PickingInfo (Please note that some info will not be set like distance, bv, bu and everything that cannot be capture by only using bounding infos)
|
|
*/
|
|
*/
|
|
@@ -4453,7 +4453,7 @@ export class Scene extends AbstractScene implements IAnimatable {
|
|
/** Use the given ray to pick a mesh in the scene
|
|
/** Use the given ray to pick a mesh in the scene
|
|
* @param ray The ray to use to pick meshes
|
|
* @param ray The ray to use to pick meshes
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must have isPickable set to true
|
|
* @param predicate Predicate function used to determine eligible meshes. Can be set to null. In this case, a mesh must have isPickable set to true
|
|
- * @param fastCheck Launch a fast check only using the bounding boxes. Can be set to null
|
|
|
|
|
|
+ * @param fastCheck defines if the first intersection will be used (and not the closest)
|
|
* @param trianglePredicate defines an optional predicate used to select faces when a mesh intersection is detected
|
|
* @param trianglePredicate defines an optional predicate used to select faces when a mesh intersection is detected
|
|
* @returns a PickingInfo
|
|
* @returns a PickingInfo
|
|
*/
|
|
*/
|