MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / setCameraSpeed

Method setCameraSpeed

Source/Falcor/Scene/Scene.cpp:2370–2374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2368 }
2369
2370 void Scene::setCameraSpeed(float speed)
2371 {
2372 mCameraSpeed = std::clamp(speed, 0.f, std::numeric_limits<float>::max());
2373 mpCamCtrl->setCameraSpeed(speed);
2374 }
2375
2376 void Scene::setCameraBounds(const AABB& aabb)
2377 {

Callers 4

renderUIMethod · 0.80
setCameraControllerMethod · 0.80
importSceneMethod · 0.80
loadSceneMethod · 0.80

Calls 2

clampFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected