Graphics::setParticleFxNonLoopedAlpha: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Usage example for C#:<br><br>        Function.Call(Hash.SET_PARTICLE_FX_NON_LOOPED_ALPHA, new InputArgument[] { 0.1f });<br><br>Note: the argument alpha ranges from 0.0f-1.0f !
Usage example for C#:<br><br>        Function.Call(Hash.SET_PARTICLE_FX_NON_LOOPED_ALPHA, new InputArgument[] { 0.1f });<br><br>Note: the argument alpha ranges from 0.0f-1.0f !
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.setParticleFxNonLoopedAlpha(alpha);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.setParticleFxNonLoopedAlpha(alpha);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''alpha:''' float
*'''alpha:''' float
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</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 21:13, 6 May 2017

Usage example for C#:

Function.Call(Hash.SET_PARTICLE_FX_NON_LOOPED_ALPHA, new InputArgument[] { 0.1f });

Note: the argument alpha ranges from 0.0f-1.0f !

Syntax

mp.game.graphics.setParticleFxNonLoopedAlpha(alpha);

Required Arguments

  • alpha: float

Return value

  • Undefined

Example

// todo

See also