Graphics::transitionToBlurred: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
time in ms to transition to fully blurred screen
Time in ms to transition to fully blurred screen.
RU: время в мс до перехода к полностью размытому экрану.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.transitionToBlurred(transitionTime);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.transitionToBlurred(transitionTime);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''transitionTime:''' float
*'''transitionTime:''' float
Line 8: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
mp.game.graphics.transitionToBlurred(1000); // Blur the screen after 1000ms (RU: Размываем экран через 1000 мс)
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 14:39, 13 November 2020

Time in ms to transition to fully blurred screen. RU: время в мс до перехода к полностью размытому экрану.

Syntax

mp.game.graphics.transitionToBlurred(transitionTime);

Required Arguments

  • transitionTime: float

Return value

  • Boolean

Example

mp.game.graphics.transitionToBlurred(1000); // Blur the screen after 1000ms (RU: Размываем экран через 1000 мс)

See also