wpf - Click Event not working anymore when using Helixtoolkit.SortingVisual3D -
i want add transparency objects (without loosing click-event). google told me try sortingvisual3d. without sortingvisual3d (except transparency) worked well, click-events also.
now tried implement (simplified code):
public sv3d new helixtoolkit.wpf.sortingvisual3d public model3dui new modeluielement3d 'apply geometry model3dui.model = geometry 'skipped geometry code in post 'add click event addhandler model3dui.mouseleftbuttonup, addressof clickevent 'add sortingvisual3d sv3d.children.add(model3dui) 'add viewport viewport.children.add(sv3d) 'setup sortingvisual3d sv3d.sortingfrequency = 2 sv3d.method = helixtoolkit.wpf.sortingmethod.boundingboxcorners sv3d.issorting = true
basically works fine, renders should , transparency working too. reason click event doesn't work. has idea i'm doing wrong?
i'm not experienced helixtoolkit, way wrong.
Comments
Post a Comment