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].
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: