ReferenceComponent
Identifies an entity by a named reference string for runtime lookup and binding.
// platform availability
iOS / iPadOS
● 18.0
since iOS 18.0
visionOS
● 2.0
since visionOS 2.0
macOS
● 15.0
since macOS 15.0
// reality composer pro
○ Add Component menu
Not listed in the Add Component menu. Must be attached programmatically at runtime.
entity.components.set(ReferenceComponent(…))