MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / set_node_transform

Method set_node_transform

src/python/lfs/py_scene.cpp:709–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

707 }
708
709 void PyScene::set_node_transform(const std::string& name, nb::ndarray<float, nb::shape<4, 4>> transform) {
710 apply_node_transform_with_undo(name, ndarray_to_mat4(transform), scene_);
711 }
712
713 void PyScene::set_node_transform_tensor(const std::string& name, const PyTensor& transform) {
714 const auto& t = transform.tensor();

Callers 7

_cancel_active_editMethod · 0.80
executeMethod · 0.80

Calls 2

ndarray_to_mat4Function · 0.85

Tested by

no test coverage detected