getPitch

public float getPitch()

Gets the pitch of this location, measured in degrees.

  • A pitch of 0 represents level forward facing.
  • A pitch of 90 represents downward facing, or negative y direction.
  • A pitch of -90 represents upward facing, or positive y direction.
Increasing pitch values the equivalent of looking down.

Return

the incline's pitch