MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / SetCineBars

Function SetCineBars

TombEngine/Scripting/Internal/TEN/View/ViewHandler.cpp:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 static void SetCineBars(TypeOrNil<float> height, TypeOrNil<float> speed)
61 {
62 // Divide by 200 so that a percentage of 100 means that each bar takes up half the screen.
63 float heightProportion = ValueOr<float>(height, 30) / 200.0f;
64 float speedProportion = ValueOr<float>(speed, 1);
65 SetCinematicBars(heightProportion, speedProportion);
66 }
67
68 static void SetFOV(float angle)
69 {

Callers

nothing calls this directly

Calls 1

SetCinematicBarsFunction · 0.85

Tested by

no test coverage detected