Contents

DockAccessory

Obtain accessory information and control tracking behavior.

Declaration

final class DockAccessory

Overview

DockAccessory provides information about the dock accessory including its model name and firmware version. It also controls the dock accessory when you disable system tracking. Use DockAccesory to perform animations, or explicitly control the position of the dock accessory in three-dimensional space by supplying coordinates in units of radians. The collection of the X, Y, and Z values corresponding to pitch, yaw, and roll is the angular position of the dock accessory.

If there are multiple subjects in a video frame, direct the dock accessory to focus on a particular area of the frame using setFramingMode(_:).

Topics

Selecting and tracking

Performing animation

Setting position and limits

Setting framing mode

Getting position and limits

Getting accessory information

Inspecting the object

Structures

Instance Properties

Instance Methods

Enumerations

See Also

Controlling the dock accessory