示例#1
0
		protected void OnGazeChanged(GazeEventArgs e)
		{
			if (GazeChanged != null)
			{
				GazeChanged(this, e);
			} 
		}
 protected void OnGazeChanged(GazeEventArgs e)
 {
     if (GazeChanged != null)
     {
         GazeChanged(this, e);
     }
 }
示例#3
0
 public void SetGazeLocation(float x, float y)
 {
     gazeLocation = new GazeEventArgs()
     {
         LeftX              = x,
         LeftY              = y,
         LeftPupilDiameter  = SimulatedPupilSize,
         RightX             = x,
         RightY             = y,
         RightPupilDiameter = SimulatedPupilSize
     };
 }
        public void SetGazeLocation(float x, float y)
        {
            gazeLocation = new GazeEventArgs() 
            {
                LeftX = x,
                LeftY = y,
				LeftPupilDiameter = SimulatedPupilSize,
                RightX = x,
                RightY = y,
				RightPupilDiameter = SimulatedPupilSize
            };
        }