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