public Vector RectilinearToPixel(Image.CameraType camera, Vector ray) { LEAP_VECTOR rayStruct = new LEAP_VECTOR(ray); LEAP_VECTOR pixel = LeapC.LeapRectilinearToPixel(_leapConnection, (camera == Image.CameraType.LEFT ? eLeapPerspectiveType.eLeapPerspectiveType_stereo_left : eLeapPerspectiveType.eLeapPerspectiveType_stereo_right), rayStruct); return new Vector(pixel.x, pixel.y, pixel.z); }