MCPcopy
hub / github.com/CesiumGS/cesium / pickCallback

Function pickCallback

packages/engine/Source/Scene/Picking.js:939–952  ·  view source on GitHub ↗
(limit)

Source from the content-addressed store, hash-verified

937 height,
938) {
939 const pickCallback = (limit) => {
940 const pickedObjects = this.pick(
941 scene,
942 windowPosition,
943 width,
944 height,
945 limit,
946 );
947 return pickedObjects.map((object) => ({
948 object: object,
949 position: undefined,
950 exclude: false,
951 }));
952 };
953 const objects = drillPick(pickCallback, limit);
954 return objects.map((element) => element.object);
955};

Callers 1

drillPickFunction · 0.85

Calls 3

getRayIntersectionFunction · 0.85
mapMethod · 0.80
pickMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…