delete_points
Returns a new point-based geometry (such as a particle system or mesh) without the specified points.
Inputs
geometry
The point-based geometry from which to delete points.
points_to_delete
The points to delete. This port accepts the same inputs as interpret_auto_port_as_component_tag:
- An
array<bool>is interpreted as values per-point. The array gets passed through, but may be resized to match the number of elements on thegeometryinput. - An
array<long>orarray<uint>is interpreted as point indices. - A
stringis interpreted as the name of an existing tag or a tag expression. See the documentation forresolve_tag_expressionfor more details on the tag expression syntax.
properties
The names of geo properties to transfer to the new geometry, such as point_color. Make sure to include all geo properties that you want, including those that target components other than points (such as faces and face-vertices in the case of meshes). Properties that are not geo properties are always transferred.
- Separate multiple geo property names with spaces.
- You can use the wildcard
*in expressions, for example,point_user*to transfer all geo properties that begin with the string "point_user". - The default value
*transfers all geo properties. - Use an empty string to prevent any geo properties from being transferred, except for those that are required by a geometry's schema (
point_positionfor point objects, as well asface_offsetandface_vertexfor meshes, and so on).
Outputs
out_geometry
The new geometric object, without the deleted points.
