kRenderFx
Description
Used by Entity:SetRenderFX and returned by Entity:GetRenderFX.
Most of these require alpha value of entitys color to be less than 255 to have any visible effect.
Values
| kRenderFxNone | 0 | None. No change. |
| kRenderFxPulseSlow | 1 | Slowly pulses the entitys transparency, +-15 to the current alpha. |
| kRenderFxPulseFast | 2 | Quickly pulses the entitys transparency, +-15 to the current alpha. |
| kRenderFxPulseSlowWide | 3 | Slowly pulses the entitys transparency, +-60 to the current alpha. |
| kRenderFxPulseFastWide | 4 | Quickly pulses the entitys transparency, +-60 to the current alpha. |
| kRenderFxFadeSlow | 5 | Slowly fades away the entity, making it completely invisible.
Starts from whatever alpha the entity currently has set. |
| kRenderFxFadeFast | 6 | Quickly fades away the entity, making it completely invisible.
Starts from whatever alpha the entity currently has set. |
| kRenderFxSolidSlow | 7 | Slowly solidifies the entity, making it fully opaque.
Starts from whatever alpha the entity currently has set. |
| kRenderFxSolidFast | 8 | Quickly solidifies the entity, making it fully opaque.
Starts from whatever alpha the entity currently has set. |
| kRenderFxStrobeSlow | 9 | Slowly switches the entitys transparency between its alpha and 0. |
| kRenderFxStrobeFast | 10 | Quickly switches the entitys transparency between its alpha and 0. |
| kRenderFxStrobeFaster | 11 | Very quickly switches the entitys transparency between its alpha and 0. |
| kRenderFxFlickerSlow | 12 | Same as Strobe Slow, but the interval is more randomized. |
| kRenderFxFlickerFast | 13 | Same as Strobe Fast, but the interval is more randomized. |
| kRenderFxNoDissipation | 14 | |
| kRenderFxDistort | 15 | Flickers ( randomizes ) the entitys transparency |
| kRenderFxHologram | 16 | Same as Distort, but fades the entity away the farther you are from it. |
| kRenderFxExplode | 17 | |
| kRenderFxGlowShell | 18 | |
| kRenderFxClampMinScale | 19 | |
| kRenderFxEnvRain | 20 | |
| kRenderFxEnvSnow | 21 | |
| kRenderFxSpotlight | 22 | |
| kRenderFxRagdoll | 23 | Is ragdoll, can be set to force an entity to create a clientside ragdoll. |
| kRenderFxPulseFastWider | 24 | Quickly pulses the entitys transparency, from 0 to 255. |
Garry's Mod
Rust
Steamworks
Wiki Help