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

Function set_parent

native/watchos/src/scene.rs:221–223  ·  view source on GitHub ↗
(handle: u32, parent: u32)

Source from the content-addressed store, hash-verified

219 mark_dirty(handle, DIRTY_VISIBILITY, |n| n.visible = v);
220}
221pub fn set_parent(handle: u32, parent: u32) {
222 mark_dirty(handle, DIRTY_PARENT, |n| n.parent = parent);
223}
224pub fn set_transform(handle: u32, m: [f32; 16]) {
225 mark_dirty(handle, DIRTY_TRANSFORM, |n| n.transform = m);
226}

Callers 3

bloom_scene_set_parentFunction · 0.85
attach_meshFunction · 0.85
spawn_node_subtreeFunction · 0.85

Calls 1

mark_dirtyFunction · 0.85

Tested by

no test coverage detected