public static object Transform_WiimoteLib_IRState_WiimoteLib_Proxy_IRState(object transformObj) { WiimoteLib.Proxy.IRState target = new WiimoteLib.Proxy.IRState(); WiimoteLib.IRState from = (WiimoteLib.IRState)transformObj; target.Mode = (WiimoteLib.Proxy.IRMode)((System.Byte)from.Mode); target.RawX1 = from.RawX1; target.RawX2 = from.RawX2; target.RawY1 = from.RawY1; target.RawY2 = from.RawY2; target.Size1 = from.Size1; target.Size2 = from.Size2; target.Found1 = from.Found1; target.Found2 = from.Found2; target.X1 = from.X1; target.X2 = from.X2; target.Y1 = from.Y1; target.Y2 = from.Y2; return(target); }
public static object Transform_WiimoteLib_IRState_TO_WiimoteLib_Proxy_IRState(object transformFrom) { WiimoteLib.Proxy.IRState target = new WiimoteLib.Proxy.IRState(); WiimoteLib.IRState from = (WiimoteLib.IRState)transformFrom; target.Mode = (WiimoteLib.Proxy.IRMode)((System.Byte)from.Mode); // copy WiimoteLib.Proxy.IRSensor[] target.IRSensors = from.IRSensors if (from.IRSensors != null) { target.IRSensors = new WiimoteLib.Proxy.IRSensor[from.IRSensors.GetLength(0)]; for (int d0 = 0; d0 < from.IRSensors.GetLength(0); d0++) { target.IRSensors[d0] = (WiimoteLib.Proxy.IRSensor)Transform_WiimoteLib_IRSensor_TO_WiimoteLib_Proxy_IRSensor(from.IRSensors[d0]); } } target.RawMidpoint = (WiimoteLib.Proxy.Point)Transform_WiimoteLib_Point_TO_WiimoteLib_Proxy_Point(from.RawMidpoint); target.Midpoint = (WiimoteLib.Proxy.PointF)Transform_WiimoteLib_PointF_TO_WiimoteLib_Proxy_PointF(from.Midpoint); return(target); }
public static object Transform_WiimoteLib_IRState_TO_WiimoteLib_Proxy_IRState(object transformFrom) { WiimoteLib.Proxy.IRState target = new WiimoteLib.Proxy.IRState(); WiimoteLib.IRState from = (WiimoteLib.IRState)transformFrom; target.Mode = (WiimoteLib.Proxy.IRMode)((System.Byte)from.Mode); // copy WiimoteLib.Proxy.IRSensor[] target.IRSensors = from.IRSensors if (from.IRSensors != null) { target.IRSensors = new WiimoteLib.Proxy.IRSensor[from.IRSensors.GetLength(0)]; for (int d0 = 0; d0 < from.IRSensors.GetLength(0); d0++) target.IRSensors[d0] = (WiimoteLib.Proxy.IRSensor)Transform_WiimoteLib_IRSensor_TO_WiimoteLib_Proxy_IRSensor(from.IRSensors[d0]); } target.RawMidpoint = (WiimoteLib.Proxy.Point)Transform_WiimoteLib_Point_TO_WiimoteLib_Proxy_Point(from.RawMidpoint); target.Midpoint = (WiimoteLib.Proxy.PointF)Transform_WiimoteLib_PointF_TO_WiimoteLib_Proxy_PointF(from.Midpoint); return target; }
public static object Transform_WiimoteLib_IRState_WiimoteLib_Proxy_IRState(object transformObj) { WiimoteLib.Proxy.IRState target = new WiimoteLib.Proxy.IRState(); WiimoteLib.IRState from = (WiimoteLib.IRState)transformObj; target.Mode = (WiimoteLib.Proxy.IRMode)((System.Byte)from.Mode); target.RawX1 = from.RawX1; target.RawX2 = from.RawX2; target.RawY1 = from.RawY1; target.RawY2 = from.RawY2; target.Size1 = from.Size1; target.Size2 = from.Size2; target.Found1 = from.Found1; target.Found2 = from.Found2; target.X1 = from.X1; target.X2 = from.X2; target.Y1 = from.Y1; target.Y2 = from.Y2; return target; }
public static object Transform_WiimoteLib_IRState_TO_WiimoteLib_Proxy_IRState(object transformFrom) { WiimoteLib.Proxy.IRState target = new WiimoteLib.Proxy.IRState(); WiimoteLib.IRState from = (WiimoteLib.IRState)transformFrom; target.Mode = (WiimoteLib.Proxy.IRMode)((System.Byte)from.Mode); target.RawX1 = from.RawX1; target.RawX2 = from.RawX2; target.RawX3 = from.RawX3; target.RawX4 = from.RawX4; target.RawY1 = from.RawY1; target.RawY2 = from.RawY2; target.RawY3 = from.RawY3; target.RawY4 = from.RawY4; target.Size1 = from.Size1; target.Size2 = from.Size2; target.Size3 = from.Size3; target.Size4 = from.Size4; target.Found1 = from.Found1; target.Found2 = from.Found2; target.Found3 = from.Found3; target.Found4 = from.Found4; target.X1 = from.X1; target.X2 = from.X2; target.X3 = from.X3; target.X4 = from.X4; target.Y1 = from.Y1; target.Y2 = from.Y2; target.Y3 = from.Y3; target.Y4 = from.Y4; target.RawMidX = from.RawMidX; target.RawMidY = from.RawMidY; target.MidX = from.MidX; target.MidY = from.MidY; return target; }