API ReferenceSandbox
ParticleLightRendererclass
Adds lighting to particles in your effect.
Constructors1
Showing 1 constructors
public ParticleLightRenderer()
No results match this filter.
Properties8
Showing 8 properties
public Sandbox.ParticleFloat Sandbox.ParticleLightRenderer.Attenuation { get; set; }
public Sandbox.ParticleFloat Sandbox.ParticleLightRenderer.Brightness { get; set; }
public bool Sandbox.ParticleLightRenderer.CastShadows { get; set; }
Returns:
bool—public Sandbox.ParticleGradient Sandbox.ParticleLightRenderer.LightColor { get; set; }
public int Sandbox.ParticleLightRenderer.MaximumLights { get; set; }
Returns:
int—public float Sandbox.ParticleLightRenderer.Ratio { get; set; }
If 1, then every particle will get a light. If 0, no particles will get a light. If 0.5, half will get a particle.
Returns:
float—public Sandbox.ParticleFloat Sandbox.ParticleLightRenderer.Scale { get; set; }
public bool Sandbox.ParticleLightRenderer.UseParticleColor { get; set; }
Returns:
bool—No results match this filter.