Пример #1
0
 /// <summary>
 /// Gets the acceleration reported by the sensor.
 /// </summary>
 /// <param name="axis">The axis of the acceleration.</param>
 /// <returns></returns>
 public float this[AccelerationAxis axis]
 {
     get { return acceleration[(int)axis]; }
 }
 /// <summary>Gets the acceleration reported by the sensor.</summary>
 /// <param name="axis">The axis of the acceleration.</param>
 /// <returns></returns>
 public float this[AccelerationAxis axis] => acceleration[(int)axis];
Пример #3
0
 /// <summary>
 /// Gets the acceleration reported by the sensor.
 /// </summary>
 /// <param name="axis">The axis of the acceleration.</param>
 /// <returns></returns>
 public float this[AccelerationAxis axis]
 {
     get { return(acceleration[(int)axis]); }
 }
Пример #4
0
 /// <summary>
 /// Gets the acceleration reported by the sensor.
 /// </summary>
 /// <param name="axis">The axis of the acceleration.</param>
 /// <returns></returns>
 public double this[AccelerationAxis axis]
 {
     get { return(acceleration[(int)axis]); }
 }