Garry's Mod Wiki

Revision Difference

Enums/kRenderFx#516053

<cat>enum</cat> <enumeration> <description> Used by <page>Entity:SetRenderFX</page> and returned by <page>Entity:GetRenderFX</page>. Most of these require alpha value of entitys color to be less than 255 to have any visible effect. </description> <fields>{{EnumField|kRenderFxNone|0|None. No change.</fields> <fields> <item key="kRenderFxNone" value="0">None. No change.</item> <item key="kRenderFxPulseSlow" value="1">Slowly pulses the entitys transparency, +-15 to the current alpha.</item> <item key="kRenderFxPulseFast" value="2">Quickly pulses the entitys transparency, +-15 to the current alpha.</item> <item key="kRenderFxPulseSlowWide" value="3">Slowly pulses the entitys transparency, +-60 to the current alpha.</item> <item key="kRenderFxPulseFastWide" value="4">Quickly pulses the entitys transparency, +-60 to the current alpha.</item> <item key="kRenderFxFadeSlow" value="5">Slowly fades away the entity, making it completely invisible. Starts from whatever alpha the entity currently has set.</item> <item key="kRenderFxFadeFast" value="6">Quickly fades away the entity, making it completely invisible. Starts from whatever alpha the entity currently has set.</item> <item key="kRenderFxSolidSlow" value="7">Slowly solidifies the entity, making it fully opaque. Starts from whatever alpha the entity currently has set.</item> <item key="kRenderFxSolidFast" value="8">Quickly solidifies the entity, making it fully opaque. Starts from whatever alpha the entity currently has set.</item> <item key="kRenderFxStrobeSlow" value="9">Slowly switches the entitys transparency between its alpha and 0.</item> <item key="kRenderFxStrobeFast" value="10">Quickly switches the entitys transparency between its alpha and 0.</item> <item key="kRenderFxStrobeFaster" value="11">Very quickly switches the entitys transparency between its alpha and 0.</item> <item key="kRenderFxFlickerSlow" value="12">Same as Strobe Slow, but the interval is more randomized.</item> <item key="kRenderFxFlickerFast" value="13">Same as Strobe Fast, but the interval is more randomized.</item> <item key="kRenderFxNoDissipation" value="14 </fields> </enumeration> {{EnumField|kRenderFxPulseSlow|1|Slowly pulses the entitys transparency, +-15 to the current alpha.}} {{EnumField|kRenderFxPulseFast|2|Quickly pulses the entitys transparency, +-15 to the current alpha.}} {{EnumField|kRenderFxPulseSlowWide|3|Slowly pulses the entitys transparency, +-60 to the current alpha.}} {{EnumField|kRenderFxPulseFastWide|4|Quickly pulses the entitys transparency, +-60 to the current alpha.}} {{EnumField|kRenderFxFadeSlow|5|Slowly fades away the entity, making it completely invisible. Starts from whatever alpha the entity currently has set.}} {{EnumField|kRenderFxFadeFast|6|Quickly fades away the entity, making it completely invisible. Starts from whatever alpha the entity currently has set.}} {{EnumField|kRenderFxSolidSlow|7|Slowly solidifies the entity, making it fully opaque. Starts from whatever alpha the entity currently has set.}} {{EnumField">kRenderFxDistort|15|Flickers ( randomizes ) the entitys transparency</item> <item key="kRenderFxHologram" value="16">Same as Distort, but fades the entity away the farther you are from it.</item> <item key="kRenderFxExplode" value="17}} {{EnumField">kRenderFxGlowShell|18</item> <item key="kRenderFxClampMinScale" value="19}} {{EnumField">kRenderFxEnvRain|20</item> <item key="kRenderFxEnvSnow" value="21}} {{EnumField">kRenderFxSpotlight|22</item> <item key="kRenderFxRagdoll" value="23}} {{EnumField">kRenderFxPulseFastWider|24|Quickly pulses the entitys transparency, from 0 to 255.</item> {{EnumField|kRenderFxSolidFast|8|Quickly solidifies the entity, making it fully opaque. Starts from whatever alpha the entity currently has set.}} {{EnumField|kRenderFxStrobeSlow|9|Slowly switches the entitys transparency between its alpha and 0.}} {{EnumField|kRenderFxStrobeFast|10|Quickly switches the entitys transparency between its alpha and 0.}} {{EnumField|kRenderFxStrobeFaster|11|Very quickly switches the entitys transparency between its alpha and 0.}} {{EnumField|kRenderFxFlickerSlow|12|Same as Strobe Slow, but the interval is more randomized.}} {{EnumField|kRenderFxFlickerFast|13|Same as Strobe Fast, but the interval is more randomized.}} {{EnumField|kRenderFxNoDissipation|14}} {{EnumField|kRenderFxDistort|15|Flickers ( randomizes ) the entitys transparency}} {{EnumField|kRenderFxHologram|16|Same as Distort, but fades the entity away the farther you are from it.}} {{EnumField|kRenderFxExplode|17}} {{EnumField|kRenderFxGlowShell|18}} {{EnumField|kRenderFxClampMinScale|19}} {{EnumField|kRenderFxEnvRain|20}} {{EnumField|kRenderFxEnvSnow|21}} {{EnumField|kRenderFxSpotlight|22}} {{EnumField|kRenderFxRagdoll|23}} {{EnumField|kRenderFxPulseFastWider|24|Quickly pulses the entitys transparency, from 0 to 255.}} }}