Function

PitchLimits

Constructs a PitchLimits from the given minimumPitch and maximumPitch angles in degrees.

PitchLimits

Source set: Android
public fun PitchLimits(
    @FloatRange(from = -90.0, to = 90.0) minimumPitch: Float,
    @FloatRange(from = -90.0, to = 90.0) maximumPitch: Float,
): PitchLimits

Constructs a PitchLimits from the given minimumPitch and maximumPitch angles in degrees.

Parameters

minimumPitch The minimum allowed pitch angle in degrees. Must be in the range [-90.0, 90.0].
maximumPitch The maximum allowed pitch angle in degrees. Must be in the range [-90.0, 90.0].

Content updated: