sourcePosition(at:)
Returns the source position of a vertex.
Declaration
func sourcePosition(at index: Int) -> vector_float2Parameters
- index:
The index of the position vertex to query.
Return Value
The normalized position of the specified vertex in sourcePositions.
Discussion
The specified index must be between 0 and the warp geometry grid’s vertexCount - 1.