Interface IParticleLighting ​
Namespace: ValveResourceFormat.Particles
Assembly: ValveResourceFormat.dll
The scene lighting a particle system can query.
csharp
public interface IParticleLightingProperties ​
Unlit ​
Lighting for systems nothing lights: the default ambient grey everywhere.
csharp
public static IParticleLighting Unlit { get; }Property Value ​
Methods ​
SampleAmbientLight(Vector3) ​
The indirect (ambient) light arriving at a world position.
csharp
Vector3 SampleAmbientLight(Vector3 position)Parameters ​
position Vector3
World position to sample at.
Returns ​
Linear light colour.

