Instance Method

gridByReplacingSourcePositions:

Returns a copy of the receiver with the source positions replaced by a specified array.

Declaration

- (instancetype)gridByReplacingSourcePositions:(const vector_float2 *)sourcePositions;

See Also

Accessing or Setting Grid Vertices

- destPositionAtIndex:

Returns the destination position of a vertex.

- sourcePositionAtIndex:

Returns the source position of a vertex.

- gridByReplacingDestPositions:

Returns a copy of the receiver with the destination positions replaced by a specified array.