Expand description
Mimic selectors for synchronized selection across multiple selectors.
Mimic selectors enable multiple selectors to select the same element in lockstep. This is essential for:
- Nearby selection: Get the “origin” entity that was already selected
- Coordinated moves: Ensure multiple parts of a move reference the same entity
§Architecture
MimicRecordingEntitySelector: Wraps a child selector and records each selected entityMimicReplayingEntitySelector: Replays the entity recorded by a recording selector
Structs§
- Mimic
Recorder - Handle for sharing mimic state between recording and replaying selectors.
- Mimic
Recording Entity Selector - An entity selector that records each selected entity for replay by other selectors.
- Mimic
Replaying Entity Selector - An entity selector that replays the last entity recorded by a recording selector.