SetLightColor( <color> )

Module: Entity
SP Only


Sets the current color of the light, as an RGB vector.

Call this on:

<entity> A light entity


self SetLightColor( (0.5, 0.75, 1.0) )

Required Args:

  • 1 : <color> An RGB vector with components in the range 0 to 1. The given values get rounded before they are stored.