Installs standard gestures onto the given entity, configured to be recognized simultaneously.
SDKs
- iOS 13.0+
- Xcode 11.0+
Framework
- Reality
Kit
Declaration
@discardableResult func installGestures(_ gestures: ARView.Entity Gestures = .all, for entity: Has Collision) -> [Entity Gesture Recognizer]
Parameters
gestures
The gesture types to install.
entity
The entity with which to associate the gesture recognizers.
Return Value
The set of gesture recognizers created to handle the requested gestures.