示例#1
0
 public TargetInfo(GazeTarget gazeTarget)
 {
     this.GazeTarget = gazeTarget;
     this.TargetName = gazeTarget.ToString().ToLower();
     this.Coordinates = Vector2D.Zero;
     Linked = false;
 }
示例#2
0
 internal void SetTarget(GazeTarget target)
 {
     lock (Targets)
     {
         Targets[target.ToString().ToLower()] = new TargetInfo(target);
     }
     NotifyTargetsChanged();
 }