forked from jeremyhart/QuickLook.Plugin.HelixViewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HelixViewerPanel.xaml
27 lines (26 loc) · 1.18 KB
/
HelixViewerPanel.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<UserControl x:Class="QuickLook.Plugin.HelixViewer.HelixViewerPanel"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:helix="clr-namespace:HelixToolkit.Wpf;assembly=HelixToolkit.Wpf"
mc:Ignorable="d"
d:DesignHeight="800" d:DesignWidth="800">
<Grid>
<helix:HelixViewport3D
x:Name="view1"
ZoomExtentsWhenLoaded="true"
ZoomAroundMouseDownPoint="True"
ShowViewCube="False"
CameraRotationMode="Turnball"
>
<ModelVisual3D x:Name="PreviewModel">
</ModelVisual3D>
<!--<helix:MeshGeometryVisual3D x:Name="PMXGeometryVisual3D" />-->
<helix:DefaultLights />
<helix:HelixViewport3D.RotateGesture>
<MouseGesture MouseAction="LeftClick"/>
</helix:HelixViewport3D.RotateGesture>
</helix:HelixViewport3D>
</Grid>
</UserControl>