vertexIndex(primitive:vertex:)
Returns the vertex index of the specified vertex within the specified primitive.
Declaration
final func vertexIndex(primitive: UInt32, vertex: UInt32) -> UInt32Parameters
- primitive:
The zero-based index of the primitive.
- vertex:
The zero-based index of the vertex within the primitive.
Return Value
The vertex index of the specified vertex within the specified primitive.