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

Method set_parent

native/shared/src/scene.rs:411–415  ·  view source on GitHub ↗
(&mut self, handle: f64, parent: f64)

Source from the content-addressed store, hash-verified

409 }
410
411 pub fn set_parent(&mut self, handle: f64, parent: f64) {
412 if let Some(node) = self.nodes.get_mut(handle) {
413 node.parent = parent;
414 }
415 }
416
417 pub fn update_geometry(&mut self, handle: f64, vertices: Vec<Vertex3D>, indices: Vec<u32>) {
418 if let Some(node) = self.nodes.get_mut(handle) {

Callers 5

bloom_scene_set_parentFunction · 0.80
bloom_scene_set_parentFunction · 0.80
bloom_scene_set_parentFunction · 0.80
bloom_scene_set_parentFunction · 0.80
bloom_scene_set_parentFunction · 0.80

Calls 1

get_mutMethod · 0.80

Tested by

no test coverage detected