| 194 | } |
| 195 | |
| 196 | void CaptureScriptManager::PreAnim(float& fElapsedTimeSeconds) |
| 197 | { |
| 198 | // don't start anything until everything is loaded |
| 199 | if (m_app.HasAsyncLoadingInProgress()) |
| 200 | return; |
| 201 | |
| 202 | if (m_start && !m_screenshotFileName.empty()) |
| 203 | { |
| 204 | m_app.SetSceneTime(m_sequenceBeginTime); |
| 205 | m_start = false; |
| 206 | m_active = true; |
| 207 | m_resetAndWarmupCounter = -1; |
| 208 | } |
| 209 | if (m_active && m_type == 1) |
| 210 | fElapsedTimeSeconds = m_sequenceDeltaTime; |
| 211 | } |
| 212 | |
| 213 | void CaptureScriptManager::PostAnim() |
| 214 | { |
no test coverage detected