Class ParticleLightSource
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
A point light a particle system places in the scene on its own, rather than through a renderer. The function that owns it keeps the same instance for the life of the system, so it identifies the light across IParticleSystemObserver.OnLightSourceUpdated(ParticleLightSource) calls.
csharp
public sealed class ParticleLightSourceInheritance
object ← ParticleLightSource
Properties
Color
The linear colour scaled by the intensity. The light falls off with the inverse square of the distance, reaching this value one unit away.
csharp
public Vector3 Color { get; }Property Value
IsLit
Whether the light is in the scene. The other values only describe it while it is.
csharp
public bool IsLit { get; }Property Value
bool
Position
The world position of the light.
csharp
public Vector3 Position { get; }Property Value
Range
How far the light reaches.
csharp
public float Range { get; }Property Value
float

