Instance Property

rightEyeTransform

A transform matrix indicating the position and orientation of the face's right eye.

Declaration

@property(nonatomic, readonly) simd_float4x4 rightEyeTransform;

Discussion

The translation aspect of this matrix indicates the position of the center of the eyeball, relative to the position represented by the anchor's transform. The positive z-axis points from the center of the eyeball in the direction of the pupil.

Rotational aspects of the matrix indicate the orientation of the eyeball—for example, a rotation about the x-axis directs the pupil upward or downward. The eye does not rotate about the z-axis.

Diagram showing the coordinate axis origin defined by the rightEyeTransform, representing both the position and rotation of the eye relative to the face anchor.

See Also

Tracking Eye Movement

leftEyeTransform

A transform matrix indicating the position and orientation of the face's left eye.

lookAtPoint

A position in face coordinate space estimating the direction of the face's gaze.