public EmulatorOrientationEvent(PhoneEvent.Types.OrientationEvent proto)
        {
            timestamp = proto.Timestamp;

            // Convert from right-handed coordinates to left-handed.
            orientation = new Quaternion(proto.X, proto.Y, -proto.Z, proto.W);
        }
Beispiel #2
0
 int TypeOfEvent(PhoneEvent.Types.OrientationEvent e)
 {
     return(5);
 }