One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

BindPath

struct · iOS 15.0+ · SDK 27.1

struct BindPath

The components of a target's path that refer to the animation properties of a nested scene or entity. The following code demonstrates bind target paths with varying numbers of elements. For a multicomponent target, call the ``BindPath/Part`` enumeration for each component. The individual elements form the path's resulting ``BindPath/parts`` array. ```swift // Single-component paths: let target0: BindTarget = .transform let target1: BindTarget = .jointTransforms let target2: BindTarget = .parameter("myInt") // Relative entity path: let target3: BindTarget = .entity("entityA").entity("entityB").parameter("myInt") // Root entity path: let target4: BindTarget = .anchorEntity("entityA").entity("entityB").transform // Scene path: let target5: BindTarget = .scene("sceneA").anchorEntity("entityA").entity("entityB").jointTransforms ```

Members (1)

get · iOS 15.0+

parts

TypeScript
get parts(): Array<BindPath_Part>
Swift declaration
var parts: [BindPath.Part] { get }

An array of the individual components of a complete bind path.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →