Env particlelight

From Valve Developer Community
< Zh
Revision as of 23:06, 15 October 2019 by 求生的兔 (talk | contribs) (Created page with "{{lang|Env particlelight}} {{base point|env_particlelight}} It can be used to light the smoke particles emitted by {{ent|env_smokestack}} entities. Does not light any other pa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

Template:Base point It can be used to light the smoke particles emitted by env_smokestack entities. Does not light any other particle types.


待完善: This template is currently using deprecated suf or {{Lang}}-based translations. Please use the main {{Code class}} instead, which uses {{Autolang}}.

在源代码中,它由 class CParticleLight 代表,定义于 particle_light.cpp


Keyvalues

Color (Color) ([todo internal name (i)]) <color255(en)>
Color emitted by this light.
Intensity (Intensity) ([todo internal name (i)]) <整数(en)>
How strong the light is.
Directional (Directional) ([todo internal name (i)]) <choices>
If this is specified, then this light will use the bump map on the particles. Each particle system can have one ambient and one directional light.
  • 0: No
  • 1: Yes
Particle System Entity (PSName) ([todo internal name (i)]) <字符串(en)>
Set this to the name of the env_smokestack that you want this light to affect.


Inputs

Outputs