pitch

fun pitch(): Int

Determines the current camera pitch.

Return

the camera pitch

fun pitch(up: Boolean): Boolean

Sets the camera pitch to one absolute, up or down.

Return

true if the absolute was reached; success is normally guaranteed regardless of return of false

Parameters

up

true to be up; otherwise false for down

fun pitch(percent: Int): Boolean

Sets the camera pitch the desired percentage.

Return

true if the pitch was reached; otherwise false

Parameters

percent

the percent to set the pitch to