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

Method StopRecording

Source/URLab/Private/MuJoCo/Core/AMjManager.cpp:618–628  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void AAMjManager::StopRecording()
619{
620 AMjReplayManager* ReplayMgr = Cast<AMjReplayManager>(UGameplayStatics::GetActorOfClass(GetWorld(), AMjReplayManager::StaticClass()));
621 if (ReplayMgr)
622 {
623 ReplayMgr->StopRecording();
624 UE_LOG(LogURLab, Log, TEXT("StopRecording called on ReplayManager."));
625 }
626 // OnPostStep callback stays registered; the replay manager gates
627 // recording with bIsRecording so it can be restarted without re-registering.
628}
629
630void AAMjManager::StartReplay()
631{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected