MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / PickWorld

Function PickWorld

Source/URLabEditor/Private/MjLevelOps.cpp:1050–1063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048}
1049
1050UWorld* PickWorld(bool bWantPie, bool& bOutChosePie)
1051{
1052 bOutChosePie = false;
1053 if (!GEditor)
1054 return nullptr;
1055 UWorld* PieWorld = GEditor->PlayWorld;
1056 if (bWantPie && PieWorld)
1057 {
1058 bOutChosePie = true;
1059 return PieWorld;
1060 }
1061 // No PIE running, or caller asked for editor world.
1062 return GEditor->GetEditorWorldContext().World();
1063}
1064} // namespace
1065
1066bool FindActorsSync(

Callers 1

FindActorsSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected