One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

AttachedTransformComponent

struct · iOS 26.0+ · SDK 27.1

struct AttachedTransformComponent

A component that stores an optional source pin owned by this entity and a target pin which this entity is attached to Attach an entity to a target pin owned by another entity with an optional source pin

Members (5)

init · iOS 26.0+

init

TypeScript
static init(source: (GeometricPin) | null, target: GeometricPin): AttachedTransformComponent
Swift declaration
init(source: GeometricPin? = nil, target: GeometricPin)

Creates an AttachedTransformComponent with an optional source pin and a target pin - Parameter source: The optional source pin existed on the current entity - Parameter target: The target pin existed on the target entity

get · iOS 26.0+

source

TypeScript
get source(): (GeometricPin) | null
Swift declaration
var source: GeometricPin?

Optional source pin with an offset relative to the current entity

set · iOS 26.0+

source

TypeScript
set source(value: (GeometricPin) | null)
Swift declaration
var source: GeometricPin?

Optional source pin with an offset relative to the current entity

get · iOS 26.0+

target

TypeScript
get target(): GeometricPin
Swift declaration
var target: GeometricPin

Target pin with an offset relative to the target entity

set · iOS 26.0+

target

TypeScript
set target(value: GeometricPin)
Swift declaration
var target: GeometricPin

Target pin with an offset relative to the target entity

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →