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

Function set_transform

native/watchos/src/scene.rs:224–226  ·  view source on GitHub ↗
(handle: u32, m: [f32; 16])

Source from the content-addressed store, hash-verified

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}
227pub fn set_color(handle: u32, rgba: [f32; 4]) {
228 mark_dirty(handle, DIRTY_MATERIAL, |n| n.color = rgba);
229}

Callers 2

spawn_node_subtreeFunction · 0.85

Calls 1

mark_dirtyFunction · 0.85

Tested by

no test coverage detected