MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetPath

Method GetPath

src/engine/SceneGraph.cpp:263–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263std::filesystem::path SceneGraphNode::GetPath() const
264{
265 std::filesystem::path path = GetName();
266
267 SceneGraphWalker walker(GetParent(), nullptr);
268 while (walker)
269 {
270 path = walker->GetName() / path;
271 walker.Up();
272 }
273
274 return "/" / path;
275}
276
277void SceneGraphNode::InvalidateContent()
278{

Callers

nothing calls this directly

Calls 1

UpMethod · 0.80

Tested by

no test coverage detected