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

Method BeginPlay

Source/URLab/Private/MuJoCo/Input/MjInputHandler.cpp:67–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void UMjInputHandler::BeginPlay()
68{
69 Super::BeginPlay();
70
71 if (FSlateApplication::IsInitialized())
72 {
73 MouseDeltaProcessor = MakeShared<FMjMouseDeltaProcessor>();
74 FSlateApplication::Get().RegisterInputPreProcessor(MouseDeltaProcessor);
75 }
76}
77
78void UMjInputHandler::EndPlay(const EEndPlayReason::Type EndPlayReason)
79{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected