Alpha Fade and Decay

From Valve Developer Community
Jump to navigation Jump to search
Wikipedia - Letter.png
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)
Icon-callout-underlinked.png
This article needs more links to other pages (since January 2024). You can help improve navigation by adding links to related documentation, such as entities or tools.
Icon-callout-orphan.png
This article is an orphan, meaning that few or no articles link to it (since January 2024). You can help by adding links to this article from other relevant articles.
Alpha Fade and Decay
This operator controls alpha fading and decaying (destroying) of particles. It's a two part combo operator that does both functions.

Generic Operator Options

start_alpha [float]
The alpha that the particle begins at. It will fade from this value to the per-particle value.
end_alpha [float]
The alpha that the particle ends at. It will fade from the per-particle value to this value.
start_fade_in_time [float]
The point at which the particle will begin to fade in, relative to its lifespan.
end_fade_in_time [float]
The point at which the particle will be fully faded in, relative to its lifespan.
start_fade_out_time [float]
The point at which the particle will begin to fade out, relative to its lifespan.
end_fade_out_time [float]
The point at which the particle will be fully faded out, relative to its lifespan.