GestureComponent
Attaches SwiftUI-style gesture recognisers directly to a RealityKit entity (new in 26.0).
// platform availability
iOS / iPadOS
● 26.0
since iOS 26.0
visionOS
● 26.0
since visionOS 26.0
macOS
● 26.0
since macOS 26.0
// reality composer pro
○ Add Component menu
Not listed in the Add Component menu. Must be attached programmatically at runtime.
entity.components.set(GestureComponent(…)) // notes
- → New in 26.0