Creates a warp geometry grid of a specific size and warp translation, in point arrays.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
- Xcode 8.0+
The number of columns in the grid.
The number of rows in the grid.
Optionally included array of the grid's source warp positions.
Optionally included array of the grid's destination warp positions.
A new warp geometry grid object.
You supply the source and destination position as row-major arrays of normalized
vector coordinates. The number of horizontal coordinates is the column count plus one and the number of vertical coordinates is the row count plus one. Passing
nil as either of the position arguments results in an identity warp with vertices distributed evenly throughout the geometry. Passing
nil to both
dest gives a result identical to