ManipulationComponent.HitTarget
Defines the collision shape used for gesture hit-testing in visionOS (nested type).
// platform availability
iOS / iPadOS
○ —
not supported
visionOS
● 26.0
since visionOS 26.0
macOS
○ —
not supported
⚠ Platform-exclusive component
// reality composer pro
○ Add Component menu
Not listed in the Add Component menu. Must be attached programmatically at runtime.
entity.components.set(ManipulationComponent.HitTarget(…)) // notes
- → visionOS exclusive
- → Nested inside ManipulationComponent
- → New in 26.0