<Window
    x:Class="uBIMEarthTools.Commands.Monitor.MonitorWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:hx="http://helix-toolkit.org/wpf/SharpDX"
    xmlns:local="clr-namespace:uBIMEarthTools.Commands.Monitor"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    Title="MonitorWindow"
    Width="800"
    Height="450"
    mc:Ignorable="d">
    <Window.DataContext>
        <local:MonitorViewModel />
    </Window.DataContext>
    <DockPanel>
        <Menu DockPanel.Dock="Top">
            <MenuItem Command="{Binding OpenCommand}" Header="Open Xlsx" />
        </Menu>
        <hx:Viewport3DX
            Name="Viewport"
            x:FieldModifier="public"
            Background="White"
            BackgroundColor="White"
            Camera="{Binding Camera}"
            EffectsManager="{Binding EffectsManager}"
            EnableD2DRendering="{Binding EnableD2DRendering}"
            EnableSwapChainRendering="{Binding EnableSwapChainRendering}"
            FXAALevel="High"
            MSAA="Eight">
            <hx:GroupModel3D Name="Light">
                <hx:AmbientLight3D Color="Azure" />
                <!--<hx:DirectionalLight3D Direction="3.150000,-8.090000,-4.960000" Color="SlateGray" />
                <hx:DirectionalLight3D Direction="8.610000,4.820000,1.640000" Color="SeaShell" />
                <hx:DirectionalLight3D Direction="-9.490000,3.090000,0.600000" Color="LightGray" />
                <hx:DirectionalLight3D Direction="-5.500000,-8.300000,-1.100000" Color="Azure" />-->
            </hx:GroupModel3D>
            <hx:GroupModel3D
                Name="Model"
                x:FieldModifier="public"
                ItemsSource="{Binding Models}" />
        </hx:Viewport3DX>
    </DockPanel>
</Window>
