Exemplo n.º 1
0
 void OnMotion(MotionDto e)
 {
     if (handleNode == null)
     {
         return;
     }
     InvokeOnMain(() => handleNode.Rotation = new Quaternion(e.Rotation.X, e.Rotation.Y, e.Rotation.Z));
 }
Exemplo n.º 2
0
 public async Task MySuperDuperAction(MotionDto data)
 {
     await Clients.All.SendAsync("motionUpdated", data);
 }