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

Function FindByActorIdOnly

Source/URLabEditor/Private/MjLevelOps.cpp:346–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344namespace
345{
346AActor* FindByActorIdOnly(UWorld* World, const FString& Id)
347{
348 if (!World || Id.IsEmpty())
349 return nullptr;
350 for (TActorIterator<AActor> It(World); It; ++It)
351 {
352 AActor* A = *It;
353 if (A && ActorMatchesActorId(A, Id))
354 {
355 return A;
356 }
357 }
358 return nullptr;
359}
360} // namespace
361
362bool SpawnActorSync(

Callers 1

SpawnActorSyncFunction · 0.85

Calls 2

ActorMatchesActorIdFunction · 0.85
IsEmptyMethod · 0.80

Tested by

no test coverage detected