setPitch

public void setPitch(float pitch)

Sets 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.

Parameters

pitch

new incline's pitch