anchorEntity
TypeScriptstatic anchorEntity(name: string): BindTarget_EntityPathSwift declarationstatic func anchorEntity(_ name: String) -> BindTarget.EntityPathGenerates a complex bind path from a particular anchor entity in the scene.
enum · iOS 15.0+ · SDK 27.1
enum BindTargetA 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.
static anchorEntity(name: string): BindTarget_EntityPathSwift declarationstatic func anchorEntity(_ name: String) -> BindTarget.EntityPathGenerates a complex bind path from a particular anchor entity in the scene.
static scene(name: string): BindTarget_ScenePathSwift declarationstatic func scene(_ name: String) -> BindTarget.ScenePathGenerates a bind path from a particular scene.
static entity(name: string): BindTarget_EntityPathSwift declarationstatic func entity(_ name: String) -> BindTarget.EntityPathGenerates a complex bind path from a particular child entity of the current entity.
static material(index: number): BindTarget_MaterialPathSwift declarationstatic func material(_ index: Int) -> BindTarget.MaterialPathGenerates a complex bind path from one of an entity's materials.
No declarations were skipped in this snapshot.