PitchLimits

@ExperimentalRotateToLookAtUserApi
class PitchLimits


Represents the limits for pitch angles in degrees.

Summary

Public companion properties

PitchLimits

Public constructors

PitchLimits(
    minimumPitch: @FloatRange(from = -90.0, to = 90.0) Float,
    maximumPitch: @FloatRange(from = -90.0, to = 90.0) Float
)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

Float

The maximum allowed pitch angle in degrees.

Float

The minimum allowed pitch angle in degrees.

Public companion properties

FullRange

val FullRangePitchLimits

Public constructors

PitchLimits

Added in 1.0.0-beta01
PitchLimits(
    minimumPitch: @FloatRange(from = -90.0, to = 90.0) Float,
    maximumPitch: @FloatRange(from = -90.0, to = 90.0) Float
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

maximumPitch

Added in 1.0.0-beta01
val maximumPitchFloat

The maximum allowed pitch angle in degrees. Must be in the range -90.0, 90.0.

minimumPitch

Added in 1.0.0-beta01
val minimumPitchFloat

The minimum allowed pitch angle in degrees. Must be in the range -90.0, 90.0.