CLuaParticle.SetEndAlpha
From GMod Wiki
Function | |
Syntax | CLuaParticle:SetEndAlpha( Number ) |
Description: | |
Sets the ending alpha of the particle | |
Returns: | nil |
In Object: | Cluaparticle |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=CLuaParticle.SetEndAlpha]CLuaParticle.SetEndAlpha [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Changes the ending alpha of the particle. |
---|---|
Used on | |
Code | CLuaParticle:SetEndAlpha( 255 ) |
Output | Will cause it to not fade out. |
Additional Notes
- The particle's material must have $vertexcolor set to 1 for this to work!
- This is 0 by default.