MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / Deinitialize

Method Deinitialize

Rtxpt/SampleGame/GameScene.cpp:48–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void GameScene::Deinitialize()
49{
50 m_scene = nullptr;
51 m_props.clear();
52 m_modelTypes.clear();
53 m_gameStoragePath = std::filesystem::path();
54 m_gameTime = 0.0;
55 m_timeLoopEnable = false;
56 m_timeLoopFrom = 0.0f;
57 m_timeLoopTo = 0.0f;
58 m_lastTickGlobalAnimationEnabled = false;
59 m_camRecEnabled = false;
60 m_recordedCameraPoses.clear();
61 m_wasGameCameraActive = false;
62 m_selectedProp.reset();
63 m_playSpeed = 3;
64}
65
66void GameScene::ResetGame()
67{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected