/// <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];
/// <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 double this[AccelerationAxis axis] { get { return(acceleration[(int)axis]); } }