/// <summary> /// Sets this light's state information using a LightStateBuilder object. /// </summary> /// <param name="stateBuilder">The LightStateBuilder containing the new state information.</param> public void SetState(LightStateBuilder stateBuilder) { SetState(stateBuilder.GetJson()); }