Package-level declarations

Types

Link copied to clipboard
open class CameraGestureDetector(viewHeight: () -> Int, var manipulator: Manipulator?)

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

Link copied to clipboard
open class GestureDetector(context: Context, var listener: GestureDetector.OnGestureListener?)

Detects various gestures and events using the supplied {@link MotionEvent}s.

Link copied to clipboard

Detects move transformation gestures using the supplied MotionEvents

Link copied to clipboard

Detects rotation transformation gestures using the supplied MotionEvents.

Link copied to clipboard

Detects scaling transformation gestures using the supplied MotionEvents.

Properties

Link copied to clipboard
val Manipulator.transform: Transform

Functions

Link copied to clipboard
fun Manipulator.Builder.orbitHomePosition(position: Position): Manipulator.Builder

Sets initial eye position in world space for ORBIT mode. This defaults to (0,0,1).

Link copied to clipboard
fun Manipulator.Builder.targetPosition(position: Position): Manipulator.Builder

Sets world-space position of interest, which defaults to (0,0,0).