CameraGestureDetector

open class CameraGestureDetector(viewHeight: () -> Int, var manipulator: Manipulator?)

Pan fixed version of the mostly duplicated com.google.android.filament.utils.GestureDetector

Responds to Android touch events and manages a camera manipulator. Supports one-touch orbit, two-touch pan, and pinch-to-zoom.

Copied from filament-utils-android/src/main/java/com/google/android/filament/utils/GestureDetector.kt

Constructors

Link copied to clipboard
constructor(viewHeight: () -> Int, manipulator: Manipulator?)

Properties

Link copied to clipboard
Link copied to clipboard
var manipulator: Manipulator?

Functions

Link copied to clipboard