Class: CinemaOverlay

CinemaOverlay()

This class manages the cinematic overlay, which is responsible for showing black bars at the top and bottom while cinema paths are playing. Cinema paths are predefined camera animations, which block player input of any kind while playing; cutscenes, essentially. Whether one is playing is communicated through the simulation state.

Constructor

new CinemaOverlay()

Source:

Members

bandbox

Source:

barBottom

Source:

barTop

Source:

hotkeys

Source:

isCutsceneModeEnabled

Source:

isCutsceneModeEnabled

Source:

overlay

Source:

primarySessionOverlays

Source:

Methods

hide()

Source:

isInCutsceneMode()

Source:

onSimulationUpdate()

Source:

recalculateBarSizes()

Source:

setCutsceneModeEnabled()

Enable or disable cutscene mode and remember it in order to save unnecessary calls to the engine. This, however, assumes that the mode isn't modified anywhere else.
Source:

show()

Source: