コード例 #1
0
		protected void OnGazeChanged(GazeEventArgs e)
		{
			if (GazeChanged != null)
			{
				GazeChanged(this, e);
			} 
		}
コード例 #2
0
 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
     };
 }
コード例 #4
0
        public void SetGazeLocation(float x, float y)
        {
            gazeLocation = new GazeEventArgs() 
            {
                LeftX = x,
                LeftY = y,
				LeftPupilDiameter = SimulatedPupilSize,
                RightX = x,
                RightY = y,
				RightPupilDiameter = SimulatedPupilSize
            };
        }