MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / AddChild

Method AddChild

src/Transform.cpp:41–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void Transform::AddChild(const WeakRef<Transform>& child)
42{
43 //must be passing a transform!
44 Ref<Transform>(child)->parent = WeakRef<Transform>(this);
45 children.insert(child);
46}
47
48void Transform::RemoveChild(const WeakRef<Transform>& child)
49{

Callers 2

StartMethod · 0.80
TestWorldMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by 1

TestWorldMethod · 0.64