One Logo Pool Ball
ARKit · IOS API REFERENCE

ARSkeletonDefinition

class · iOS 13.0+ · SDK 27.1

class ARSkeletonDefinition

Members (7)

get · iOS 13.0+

defaultBody2D

TypeScript
static get defaultBody2D(): ARSkeletonDefinition
Swift declaration
class var defaultBody2D: ARSkeletonDefinition { get }
get · iOS 13.0+

defaultBody3D

TypeScript
static get defaultBody3D(): ARSkeletonDefinition
Swift declaration
class var defaultBody3D: ARSkeletonDefinition { get }
get · iOS 13.0+

jointCount

TypeScript
get jointCount(): number
Swift declaration
var jointCount: Int { get }
get · iOS 13.0+

jointNames

TypeScript
get jointNames(): Array<string>
Swift declaration
var jointNames: [String] { get }
get · iOS 13.0+

neutralBodySkeleton3D

TypeScript
get neutralBodySkeleton3D(): (ARSkeleton3D) | null
Swift declaration
var neutralBodySkeleton3D: ARSkeleton3D? { get }
get · iOS 13.0+

parentIndices

TypeScript
get parentIndices(): Array<number>
Swift declaration
@nonobjc var parentIndices: [Int] { get }

An array of parent joint indices for each joint in the skeleton.

method · iOS 13.0+

index

TypeScript
index(jointName: ARSkeleton_JointName): number
Swift declaration
@nonobjc func index(for jointName: ARSkeleton.JointName) -> Int

Returns the index for a given joint name. - Parameter jointName: The name of the joint. - Returns: The index of the joint in the skeleton.

Skipped declarations

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

ARSkeletonDefinition.init()

inherited init: clang: 'init' is unavailable

All ARKit types →