parts
TypeScriptget parts(): Array<BindPath_Part>Swift declarationvar parts: [BindPath.Part] { get }An array of the individual components of a complete bind path.
struct · iOS 15.0+ · SDK 27.1
struct BindPathThe 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 ```
get parts(): Array<BindPath_Part>Swift declarationvar parts: [BindPath.Part] { get }An array of the individual components of a complete bind path.
No declarations were skipped in this snapshot.