One Logo Pool Ball
ARKit · IOS API REFERENCE

ARSkeleton2D

class · iOS 13.0+ · SDK 27.1

class ARSkeleton2D

Members (2)

get · iOS 13.0+

jointLandmarks

TypeScript
get jointLandmarks(): Array<SDKHandle>
Swift declaration
@nonobjc var jointLandmarks: [simd_float2] { get }

An array of 2D landmark positions for each joint in normalized image coordinates.

method · iOS 13.0+

landmark

TypeScript
landmark(jointName: ARSkeleton_JointName): (SDKHandle) | null
Swift declaration
@nonobjc func landmark(for jointName: ARSkeleton.JointName) -> simd_float2?

Returns the 2D landmark position for a given joint name. - Parameter jointName: The name of the joint. - Returns: The 2D landmark position in normalized image coordinates, or `nil` if the joint name is not found.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ARSkeleton2D.init()

inherited init: clang: 'init' is unavailable

All ARKit types →