是否可以让 CombinedManipulator 在 Helix Toolkit WPF 中使用左键单击而不是右键单击?

Is it possible to have the CombinedManipulator use left click instead of right in Helix Toolkit WPF?

我正在使用 CombinedManipulator 并且一切正常,但我想将其更改为使用左键单击而不是右键单击。我查看了所有文档,但没有找到任何对我有帮助的东西。我确实看到了这个,但我似乎无法正确实施它。

这是我的 HelixViewport xaml:

<helix:HelixViewport3D x:Name="viewPort3d" ZoomExtentsWhenLoaded="true"
                           Margin="0,0,290.6,173.6" Background="Black" MouseLeftButtonUp="Viewport3D_MouseMove" 
                           SnapMouseDownPoint="False" Height="638" VerticalAlignment="Bottom" 
                           ShowCameraInfo="True" MinimumFieldOfView="45" >
        <helix:DefaultLights/>
        <helix:CombinedManipulator x:Name="rTManipulator" CanRotateX="True" CanRotateY="True" CanRotateZ="True" />
</helix:HelixViewport3D>

CombinedManipulator internally uses RotateManipulator and TranslateManipulator which in turn react to OnMouseDown and OnMouseMove events (see source code here)。我建议您分叉该项目并编辑组件以满足您的需求,即根据您的需要过滤 left/right 单击。您还可以向仍在积极维护的项目提交 PR。