MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SetSceneInHierarchy

Method SetSceneInHierarchy

Source/Engine/Level/Actor.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void Actor::SetSceneInHierarchy(Scene* scene)
141{
142 _scene = scene;
143
144 for (int32 i = 0; i < Children.Count(); i++)
145 {
146 Children.Get()[i]->SetSceneInHierarchy(scene);
147 }
148}
149
150void Actor::OnEnableInHierarchy()
151{

Callers 1

DestroyChildrenMethod · 0.80

Calls 2

CountMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected