Instance Property

vertices

A buffer of vertex positions for each point in the face mesh.

Declaration

@property(nonatomic, readonly) const simd_float3 *vertices;

Discussion

Each float3 value in this buffer represents the position of a vertex in the mesh, in face coordinates. (See Tracking Face Position and Orientation.)

The vertexCount property provides the number of elements in the buffer.

See Also

Accessing Mesh Data

vertexCount

The number of elements in the vertices buffer.

textureCoordinateCount

The number of elements in the textureCoordinates buffer.

textureCoordinates

A buffer of texture coordinate values for each point in the face mesh.

triangleCount

The number of triangles described by the triangleIndices buffer.

triangleIndices

A buffer of indices describing the triangle mesh formed by the face geometry's vertex data.