/** * <summary> * Performs a smooth transition in the RGB color space between the current color and a target color. * <para> * </para> * <para> * </para> * </summary> * <param name="rgb_target"> * desired RGB color at the end of the transition * </param> * <param name="ms_duration"> * duration of the transition, in millisecond * </param> * <para> * </para> * <returns> * <c>0</c> if the call succeeds. * </returns> * <para> * On failure, throws an exception or returns a negative error code. * </para> */ public int rgbMove(int rgb_target, int ms_duration) { if (_func == null) { throw new YoctoApiProxyException("No ColorLed connected"); } return(_func.rgbMove(rgb_target, ms_duration)); }