Creates a new Selection manager.
Adapter responsible for visual selection feedback.
If true, the selection manager is enabled and can modify the selection.
If true, reselecting the currently selected single target will toggle it instead of doing nothing.
Signal that fires when the selection changes.
Replaces the current selection with the given object(s).
If toggleOnRepeatSelect
is true and the object is already the only selected one, it toggles it instead.
Replaces the current selection with the given object(s).
If toggleOnRepeatSelect
is true and the object is already the only selected one, it toggles it instead.
Selection manager that supports adding, removing, toggling, and querying selected objects. The selection change signal is debounced to dispatch only once per animation frame.