Skip to content

Graphics3DSelectionChangingEventArgs class

Provides data for the SelectionChanging event, which the Graphics3DControl raises before it applies a selection.

Namespace: Eremex.AvaloniaUI.Controls3D
Assembly: Eremex.Avalonia.Controls3D.dll
NuGet Package: Eremex.Avalonia.Controls3D

Declaration

public class Graphics3DSelectionChangingEventArgs : RoutedEventArgs

Properties

name description
HitTestResults { get; } Gets the elements found by the ray cast at the clicked point, ordered from the nearest to the farthest one.
NewValue { get; set; } Gets or sets the element that the control is about to select. Set the property to another element to override the pending selection, or to null to clear the selection.
OldValue { get; } Gets the element that is selected when the event is raised.

See Also