08-07-2017, 12:24 PM
I have checked the TrackballDecorator and see that there is no way to use the TrackballDecorator with DXViewportView because the DXViewportView.Viewport3D can be only set to the Viewport3D and not to any other class - in this caseĀ TrackballDecorator.
The only solution to this is that you use the source code of the TrackballDecorator and takeĀ the code that handle the camera movement out of this class and create your own camera handler that could subscribe to mouse events and then change the camera without "decorating" the Viewport3D as its child element.
The only solution to this is that you use the source code of the TrackballDecorator and takeĀ the code that handle the camera movement out of this class and create your own camera handler that could subscribe to mouse events and then change the camera without "decorating" the Viewport3D as its child element.
Andrej Benedik

