Object3DManagerOnObject3DSelected Event |
Namespace: VIZCore3D.NET.Manager
public event Object3DSelectedEventHandler OnObject3DSelected
// VIZCore3D.NET Control private VIZCore3D.NET.VIZCore3DControl vizcore3d; private void Example() { vizcore3d.Object3D.OnObject3DSelected += Object3D_OnObject3DSelected; } private void Object3D_OnObject3DSelected(object sender, Event.EventManager.Object3DSelectedEventArgs e) { if (e.Node.Count == 0) return; foreach (VIZCore3D.NET.Data.Node item in e.Node) { // Some code here... } }