SetLightColor( <color> )


Module: Entity
SP Only

Summary:

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



Call this on:

<entity> A light entity



Example:

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.