One Logo Pool Ball
CreateMLComponents · IOS API REFERENCE

JointKey

struct · iOS 16.0+ · SDK 27.1

struct JointKey

A key that uniquely identifies a joint.

Members (44)

get · iOS 16.0+

rightAnkle

TypeScript
get rightAnkle(): JointKey
Swift declaration
static let rightAnkle: JointKey

A key associated with right ankle joint in a body pose.

get · iOS 16.0+

rightElbow

TypeScript
get rightElbow(): JointKey
Swift declaration
static let rightElbow: JointKey

A key associated with right elbow joint in a body pose.

get · iOS 16.0+

rightWrist

TypeScript
get rightWrist(): JointKey
Swift declaration
static let rightWrist: JointKey

A key associated with right wrist joint in a body pose.

get · iOS 16.0+

leftShoulder

TypeScript
get leftShoulder(): JointKey
Swift declaration
static let leftShoulder: JointKey

A key associated with left shoulder joint in a body pose.

get · iOS 16.0+

rightShoulder

TypeScript
get rightShoulder(): JointKey
Swift declaration
static let rightShoulder: JointKey

A key associated with right shoulder joint in a body pose.

get · iOS 16.0+

debugDescription

TypeScript
getDebugDescription($self: JointKey): string
Swift declaration
var debugDescription: String { get }

A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the `String(reflecting:)` initializer. This initializer works with any type, and uses the custom `debugDescription` property for types that conform to `CustomDebugStringConvertible`: struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)" The conversion of `p` to a string in the assignment to `s` uses the `Point` type's `debugDescription` property.

get · iOS 16.0+

neck

TypeScript
get neck(): JointKey
Swift declaration
static let neck: JointKey

A key associated with neck joint in a body pose.

get · iOS 16.0+

nose

TypeScript
get nose(): JointKey
Swift declaration
static let nose: JointKey

A key associated with nose joint in a body pose.

get · iOS 16.0+

root

TypeScript
get root(): JointKey
Swift declaration
static let root: JointKey

A key associated with root joint in a body pose.

get · iOS 16.0+

wrist

TypeScript
get wrist(): JointKey
Swift declaration
static let wrist: JointKey

A key associated with hand wrist joint in a hand pose.

get · iOS 16.0+

leftEar

TypeScript
get leftEar(): JointKey
Swift declaration
static let leftEar: JointKey

A key associated with left ear joint in a body pose.

get · iOS 16.0+

leftEye

TypeScript
get leftEye(): JointKey
Swift declaration
static let leftEye: JointKey

A key associated with left eye joint in a body pose.

get · iOS 16.0+

leftHip

TypeScript
get leftHip(): JointKey
Swift declaration
static let leftHip: JointKey

A key associated with left hip joint in a body pose.

get · iOS 16.0+

ringDIP

TypeScript
get ringDIP(): JointKey
Swift declaration
static let ringDIP: JointKey

A key associated with ring finger's distal interphalangeal (DIP) joint in a hand pose.

get · iOS 16.0+

ringMCP

TypeScript
get ringMCP(): JointKey
Swift declaration
static let ringMCP: JointKey

A key associated with ring finger's metacarpophalangeal (MCP) joint in a hand pose.

get · iOS 16.0+

ringPIP

TypeScript
get ringPIP(): JointKey
Swift declaration
static let ringPIP: JointKey

A key associated with ring finger's proximal interphalangeal (PIP) joint in a hand pose.

get · iOS 16.0+

ringTip

TypeScript
get ringTip(): JointKey
Swift declaration
static let ringTip: JointKey

A key associated with ring finger tip joint in a hand pose.

get · iOS 16.0+

thumbIP

TypeScript
get thumbIP(): JointKey
Swift declaration
static let thumbIP: JointKey

A key associated with thumb interphalangeal (IP) joint in a hand pose.

get · iOS 16.0+

thumbMP

TypeScript
get thumbMP(): JointKey
Swift declaration
static let thumbMP: JointKey

A key associated with thumb metacarpophalangeal (MP) joint in a hand pose.

get · iOS 16.0+

indexDIP

TypeScript
get indexDIP(): JointKey
Swift declaration
static let indexDIP: JointKey

A key associated with index finger's distal interphalangeal (DIP) joint in a hand pose.

get · iOS 16.0+

indexMCP

TypeScript
get indexMCP(): JointKey
Swift declaration
static let indexMCP: JointKey

A key associated with index finger's metacarpophalangeal (MCP) joint in a hand pose.

get · iOS 16.0+

indexPIP

TypeScript
get indexPIP(): JointKey
Swift declaration
static let indexPIP: JointKey

A key associated with index finger's proximal interphalangeal (PIP) joint in a hand pose.

get · iOS 16.0+

indexTip

TypeScript
get indexTip(): JointKey
Swift declaration
static let indexTip: JointKey

A key associated with index finger tip joint in a hand pose.

get · iOS 16.0+

leftKnee

TypeScript
get leftKnee(): JointKey
Swift declaration
static let leftKnee: JointKey

A key associated with left knee joint in a body pose.

init · iOS 16.0+

init

TypeScript
init(rawValue: string): JointKey
Swift declaration
init(rawValue: String)

Creates a new instance with the specified raw value. If there is no value of the type that corresponds with the specified raw value, this initializer returns `nil`. For example: enum PaperSize: String { case A4, A5, Letter, Legal } print(PaperSize(rawValue: "Legal")) // Prints "Optional(PaperSize.Legal)" print(PaperSize(rawValue: "Tabloid")) // Prints "nil" - Parameter rawValue: The raw value to use for the new instance.

get · iOS 16.0+

rawValue

TypeScript
getRawValue($self: JointKey): string
Swift declaration
var rawValue: String

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

set · iOS 16.0+

rawValue

TypeScript
setRawValue($self: JointKey, value: string): void
Swift declaration
var rawValue: String

The corresponding value of the raw type. A new instance initialized with `rawValue` will be equivalent to this instance. For example: enum PaperSize: String { case A4, A5, Letter, Legal } let selectedSize = PaperSize.Letter print(selectedSize.rawValue) // Prints "Letter" print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!) // Prints "true"

get · iOS 16.0+

rightEar

TypeScript
get rightEar(): JointKey
Swift declaration
static let rightEar: JointKey

A key associated with right ear joint in a body pose.

get · iOS 16.0+

rightEye

TypeScript
get rightEye(): JointKey
Swift declaration
static let rightEye: JointKey

A key associated with right eye joint in a body pose.

get · iOS 16.0+

rightHip

TypeScript
get rightHip(): JointKey
Swift declaration
static let rightHip: JointKey

A key associated with right hip joint in a body pose.

get · iOS 16.0+

thumbCMC

TypeScript
get thumbCMC(): JointKey
Swift declaration
static let thumbCMC: JointKey

A key associated with thumb carpometacarpal (CMC) joint in a hand pose.

get · iOS 16.0+

thumbTip

TypeScript
get thumbTip(): JointKey
Swift declaration
static let thumbTip: JointKey

A key associated with thumb tip joint in a hand pose.

get · iOS 16.0+

leftAnkle

TypeScript
get leftAnkle(): JointKey
Swift declaration
static let leftAnkle: JointKey

A key associated with left ankle joint in a body pose.

get · iOS 16.0+

leftElbow

TypeScript
get leftElbow(): JointKey
Swift declaration
static let leftElbow: JointKey

A key associated with left elbow joint in a body pose.

get · iOS 16.0+

leftWrist

TypeScript
get leftWrist(): JointKey
Swift declaration
static let leftWrist: JointKey

A key associated with left wrist joint in a body pose.

get · iOS 16.0+

littleDIP

TypeScript
get littleDIP(): JointKey
Swift declaration
static let littleDIP: JointKey

A key associated with ring finger's distal interphalangeal (DIP) joint in a hand pose.

get · iOS 16.0+

littleMCP

TypeScript
get littleMCP(): JointKey
Swift declaration
static let littleMCP: JointKey

A key associated with ring finger's metacarpophalangeal (MCP) joint in a hand pose.

get · iOS 16.0+

littlePIP

TypeScript
get littlePIP(): JointKey
Swift declaration
static let littlePIP: JointKey

A key associated with ring finger's proximal interphalangeal (PIP) joint in a hand pose.

get · iOS 16.0+

littleTip

TypeScript
get littleTip(): JointKey
Swift declaration
static let littleTip: JointKey

A key associated with ring finger tip joint in a hand pose.

get · iOS 16.0+

middleDIP

TypeScript
get middleDIP(): JointKey
Swift declaration
static let middleDIP: JointKey

A key associated with middle finger's distal interphalangeal (DIP) joint in a hand pose.

get · iOS 16.0+

middleMCP

TypeScript
get middleMCP(): JointKey
Swift declaration
static let middleMCP: JointKey

A key associated with middle finger's metacarpophalangeal (MCP) joint in a hand pose.

get · iOS 16.0+

middlePIP

TypeScript
get middlePIP(): JointKey
Swift declaration
static let middlePIP: JointKey

A key associated with middle finger's proximal interphalangeal (PIP) joint in a hand pose.

get · iOS 16.0+

middleTip

TypeScript
get middleTip(): JointKey
Swift declaration
static let middleTip: JointKey

A key associated with middle finger tip joint in a hand pose.

get · iOS 16.0+

rightKnee

TypeScript
get rightKnee(): JointKey
Swift declaration
static let rightKnee: JointKey

A key associated with right knee joint in a body pose.

Skipped declarations

No declarations were skipped in this snapshot.

All CreateMLComponents types →