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