MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / pickSceneAll

Function pickSceneAll

src/scene/index.ts:535–545  ·  view source on GitHub ↗
(screenX: number, screenY: number, maxResults: number = 8)

Source from the content-addressed store, hash-verified

533 * occluded objects. Returns an array of { handle, distance }.
534 */
535export function pickSceneAll(screenX: number, screenY: number, maxResults: number = 8): { handle: number; distance: number }[] {
536 const count = bloom_scene_pick_all(screenX, screenY, maxResults);
537 const results: { handle: number; distance: number }[] = [];
538 for (let i = 0; i < count; i++) {
539 results.push({
540 handle: bloom_pick_all_handle(i),
541 distance: bloom_pick_all_distance(i),
542 });
543 }
544 return results;
545}
546
547// ============================================================
548// Q8: Water Material

Callers

nothing calls this directly

Calls 4

bloom_scene_pick_allFunction · 0.50
bloom_pick_all_handleFunction · 0.50
bloom_pick_all_distanceFunction · 0.50
pushMethod · 0.45

Tested by

no test coverage detected