Contents

Gesture

An instance that matches a sequence of events to a gesture, and returns a stream of values for each of its states.

Declaration

@MainActor @preconcurrency protocol Gesture<Value>

Overview

Create custom gestures by declaring types that conform to the Gesture protocol.

Topics

Implementing a custom gesture

Performing the gesture

Composing gestures

Adding modifier keys to a gesture

Transforming a gesture

Customizing gesture activation

Using a gesture with a RealityKit entity

See Also

Defining custom gestures