Contents

remove(named:)

Removes a geometric pin with the given name from this entity.

Declaration

@MainActor func remove(named name: String)

Parameters

  • name:

    The name of the geometric pin to remove.

Discussion

If found, the pin is removed from the entity’s GeometricPinsComponent. There is no effect if no matching GeometricPin is found.