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 thegeometry
input. - An
array<long>
orarray<uint>
is interpreted as point indices. - A
string
is interpreted as the name of an existing tag or a tag expression. See the documentation forresolve_tag_expression
for 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_position
for point objects, as well asface_offset
andface_vertex
for meshes, and so on).
Outputs
out_geometry
The new geometric object, without the deleted points.