Class LightStyle
Namespace: ValveResourceFormat.Renderer.SceneEnvironment
Assembly: Renderer.dll
Looping brightness animation of a light, such as a flicker or a pulse.
csharp
public abstract class LightStyleInheritance
object ← LightStyle
Derived
CurveLightStyle, PatternLightStyle
Properties
Duration
Gets the length of one loop in seconds.
csharp
public abstract float Duration { get; }Property Value
float
Events
Gets the events fired along the loop, sorted by time.
csharp
public virtual IReadOnlyList<LightStyleEvent> Events { get; }Property Value
IReadOnlyList<LightStyleEvent>
Methods
GetBrightness(float)
Gets the brightness multiplier at a time between zero and LightStyle.Duration.
csharp
public abstract float GetBrightness(float time)Parameters
time float
Returns
float

