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

Function attachModelToNode

src/scene/index.ts:365–371  ·  view source on GitHub ↗
(
  nodeHandle: SceneNodeHandle,
  modelHandle: number,
  meshIndex: number = 0,
)

Source from the content-addressed store, hash-verified

363 * @param meshIndex — which mesh in the model (0 for single-mesh models)
364 */
365export function attachModelToNode(
366 nodeHandle: SceneNodeHandle,
367 modelHandle: number,
368 meshIndex: number = 0,
369): void {
370 bloom_scene_attach_model(nodeHandle, modelHandle, meshIndex);
371}
372
373// ============================================================
374// 3D → 2D Projection (for UI overlays in 3D space)

Callers 8

spawnModelEntityFunction · 0.90
spawnPrefabEntityFunction · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
main.tsFile · 0.90
placeNodeFunction · 0.90
setupThinGeometryFunction · 0.90
main.tsFile · 0.90

Calls 1

bloom_scene_attach_modelFunction · 0.50

Tested by

no test coverage detected