Deletes a point from an existing path.


path_delete_point(ind, n);

参数 描述
index The index of the path to delete a point from.
.n The defining point to delete.

返回: N/A(无返回值)


With this function you can remove a point from the specified path. Path points are numbered from 0 so the first point is always the 0th point and the last path point will be path_get_number() - 1.


path_delete_point(mypath, path_get_number(mypath) - 1);

This would delete the last point on the path indexed in the variable "mypath".

上一页: Changing Paths
下一页: path_clear_points
© Copyright YoYo Games Ltd. 2018 All Rights Reserved