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

Method EndPlay

Source/URLab/Private/MuJoCo/Core/MjArticulation.cpp:118–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void AMjArticulation::EndPlay(const EEndPlayReason::Type EndPlayReason)
119{
120 Super::EndPlay(EndPlayReason);
121
122 if (m_wrapper)
123 {
124 delete m_wrapper;
125 m_wrapper = nullptr;
126 }
127
128 if (m_ChildSpec)
129 {
130 mj_deleteSpec(m_ChildSpec);
131 m_ChildSpec = nullptr;
132 }
133}
134
135void AMjArticulation::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)
136{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected