public Colour(Colour copy) { this.sensor = copy.getSensor(); this.outputBitmap = copy.getImage(); }
/// <summary> /// Disables the colour streaming functionality /// </summary> /// <param name="OldSensor"></param> private void DisableColour(KinectSensor OldSensor) { OldSensor.ColorFrameReady -= colourObj.SensorColorFrameReady; OldSensor.ColorStream.Disable(); colourObj = null; }