One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

BindTarget

enum · iOS 15.0+ · SDK 27.1

enum BindTarget

A reference to a particular scene, entity, or property that animates. This structure describes a reference to an animated property. The property may be a transform, collection of joint transforms, an arbitrary named property of an entity, or the property of a nested entity. For nested entities, the ``BindTarget/path(_:)`` case returns a ``BindPath`` instance that contains an array of _parts_ (``BindPath/Part``). Each part identifies one or more nested, named entities or scenes, followed by the property to animate.

Members (4)

static · iOS 15.0+

anchorEntity

TypeScript
static anchorEntity(name: string): BindTarget_EntityPath
Swift declaration
static func anchorEntity(_ name: String) -> BindTarget.EntityPath

Generates a complex bind path from a particular anchor entity in the scene.

static · iOS 15.0+

scene

TypeScript
static scene(name: string): BindTarget_ScenePath
Swift declaration
static func scene(_ name: String) -> BindTarget.ScenePath

Generates a bind path from a particular scene.

static · iOS 15.0+

entity

TypeScript
static entity(name: string): BindTarget_EntityPath
Swift declaration
static func entity(_ name: String) -> BindTarget.EntityPath

Generates a complex bind path from a particular child entity of the current entity.

static · iOS 18.0+

material

TypeScript
static material(index: number): BindTarget_MaterialPath
Swift declaration
static func material(_ index: Int) -> BindTarget.MaterialPath

Generates a complex bind path from one of an entity's materials.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →