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

Method GetBoxWithChildren

Source/Engine/Level/Actor.cpp:1425–1431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1423}
1424
1425BoundingBox Actor::GetBoxWithChildren() const
1426{
1427 BoundingBox result = GetBox();
1428 for (int32 i = 0; i < Children.Count(); i++)
1429 BoundingBox::Merge(result, Children.Get()[i]->GetBoxWithChildren(), result);
1430 return result;
1431}
1432
1433#if USE_EDITOR
1434

Callers 1

AutoResizeMethod · 0.80

Calls 4

GetBoxFunction · 0.85
MergeFunction · 0.50
CountMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected