예제 #1
0
 public static object Transform_WiimoteLib_NunchukState_TO_WiimoteLib_Proxy_NunchukState(object transformFrom)
 {
     WiimoteLib.Proxy.NunchukState target = new WiimoteLib.Proxy.NunchukState();
     WiimoteLib.NunchukState       from   = (WiimoteLib.NunchukState)transformFrom;
     target.CalibrationInfo = (WiimoteLib.Proxy.NunchukCalibrationInfo)Transform_WiimoteLib_NunchukCalibrationInfo_TO_WiimoteLib_Proxy_NunchukCalibrationInfo(from.CalibrationInfo);
     target.AccelState      = (WiimoteLib.Proxy.AccelState)Transform_WiimoteLib_AccelState_TO_WiimoteLib_Proxy_AccelState(from.AccelState);
     target.RawJoystick     = (WiimoteLib.Proxy.Point)Transform_WiimoteLib_Point_TO_WiimoteLib_Proxy_Point(from.RawJoystick);
     target.Joystick        = (WiimoteLib.Proxy.PointF)Transform_WiimoteLib_PointF_TO_WiimoteLib_Proxy_PointF(from.Joystick);
     target.C = from.C;
     target.Z = from.Z;
     return(target);
 }
 public static object Transform_WiimoteLib_NunchukState_WiimoteLib_Proxy_NunchukState(object transformObj)
 {
     WiimoteLib.Proxy.NunchukState target = new WiimoteLib.Proxy.NunchukState();
     WiimoteLib.NunchukState       from   = (WiimoteLib.NunchukState)transformObj;
     target.CalibrationInfo = (WiimoteLib.Proxy.NunchukCalibrationInfo)Transform_WiimoteLib_NunchukCalibrationInfo_WiimoteLib_Proxy_NunchukCalibrationInfo(from.CalibrationInfo);
     target.AccelState      = (WiimoteLib.Proxy.AccelState)Transform_WiimoteLib_AccelState_WiimoteLib_Proxy_AccelState(from.AccelState);
     target.RawX            = from.RawX;
     target.RawY            = from.RawY;
     target.X = from.X;
     target.Y = from.Y;
     target.C = from.C;
     target.Z = from.Z;
     return(target);
 }
 public static object Transform_WiimoteLib_Proxy_NunchukState_TO_WiimoteLib_NunchukState(object transformFrom)
 {
     WiimoteLib.NunchukState target = new WiimoteLib.NunchukState();
     WiimoteLib.Proxy.NunchukState from = (WiimoteLib.Proxy.NunchukState)transformFrom;
     target.CalibrationInfo = (WiimoteLib.NunchukCalibrationInfo)Transform_WiimoteLib_Proxy_NunchukCalibrationInfo_TO_WiimoteLib_NunchukCalibrationInfo(from.CalibrationInfo);
     target.AccelState = (WiimoteLib.AccelState)Transform_WiimoteLib_Proxy_AccelState_TO_WiimoteLib_AccelState(from.AccelState);
     target.RawJoystick = (WiimoteLib.Point)Transform_WiimoteLib_Proxy_Point_TO_WiimoteLib_Point(from.RawJoystick);
     target.Joystick = (WiimoteLib.PointF)Transform_WiimoteLib_Proxy_PointF_TO_WiimoteLib_PointF(from.Joystick);
     target.C = from.C;
     target.Z = from.Z;
     return target;
 }
 public static object Transform_WiimoteLib_Proxy_NunchukState_WiimoteLib_NunchukState(object transformObj)
 {
     WiimoteLib.NunchukState target = new WiimoteLib.NunchukState();
     WiimoteLib.Proxy.NunchukState from = (WiimoteLib.Proxy.NunchukState)transformObj;
     target.CalibrationInfo = (WiimoteLib.NunchukCalibrationInfo)Transform_WiimoteLib_Proxy_NunchukCalibrationInfo_WiimoteLib_NunchukCalibrationInfo(from.CalibrationInfo);
     target.AccelState = (WiimoteLib.AccelState)Transform_WiimoteLib_Proxy_AccelState_WiimoteLib_AccelState(from.AccelState);
     target.RawX = from.RawX;
     target.RawY = from.RawY;
     target.X = from.X;
     target.Y = from.Y;
     target.C = from.C;
     target.Z = from.Z;
     return target;
 }