Table of Contents

Class SelectionManager

Namespace
Macad.Interaction
Assembly
Macad.Interaction.dll
public sealed class SelectionManager
Inheritance
SelectionManager

Properties

public SelectionContext CurrentContext { get; }
Property Value: SelectionContext

public List<InteractiveEntity> SelectedEntities { get; }
Property Value: List<InteractiveEntity>

Methods

public void ClearSelection()

public void CloseContext(SelectionContext context)
context SelectionContext

public void DeselectEntities(IEnumerable<InteractiveEntity> entities)
entities IEnumerable<InteractiveEntity>

public void DeselectEntity(InteractiveEntity entity)
entity InteractiveEntity

public void Invalidate()

public SelectionContext OpenContext(SelectionContext.Options options = Options.None)
options SelectionContext.Options
Returns: SelectionContext

public void SelectEntities(IEnumerable<InteractiveEntity> entities, SelectionManager.SelectionMode mode = SelectionMode.Exclusive)
entities IEnumerable<InteractiveEntity>
mode SelectionManager.SelectionMode

public void SelectEntity(InteractiveEntity entity, SelectionManager.SelectionMode mode = SelectionMode.Exclusive)
entity InteractiveEntity
mode SelectionManager.SelectionMode

public void Update()

Events

public event SelectionManager.SelectionChangedEventHandler SelectionChanged
Event Type: SelectionManager.SelectionChangedEventHandler

public event SelectionManager.SelectionChangingEventHandler SelectionChanging
Event Type: SelectionManager.SelectionChangingEventHandler