A component that stores a sequence of geometric pins.
Add, inspect, and remove geometric pins that belong to the entity that owns
an instance of `GeometricPinsComponent` by accessing its
``Entity/pins`` property.
Members (5)
method · iOS 18.0+
set
TypeScript
set(pin: GeometricPin): void
Swift declaration
mutating func set(pin: GeometricPin)
Adds a pin to the collection.
If the pin's name already exists in the collection, the new value replaces the existing one.
- Parameter geometricPin: The pin to add or update.
get · iOS 18.0+
pins
TypeScript
get pins(): Array<GeometricPin>
Swift declaration
var pins: Set<GeometricPin> { get }
The sequence of geometric pins the component owns.