add selection system

This commit is contained in:
Chikashi Miyama 2019-09-28 12:53:22 +02:00
parent 2cf35aaf8e
commit dd9dfdeb2f
16 changed files with 450 additions and 174 deletions

View file

@ -9,6 +9,12 @@
<e p="Assets" t="Include">
<e p="Editor" t="Include">
<e p="AppBuilder.cs" t="Include" />
<e p="PdBackendEditor.cs" t="Include" />
<e p="PreviewExampleInspector.cs" t="Include" />
</e>
<e p="PdBackend" t="Include">
<e p="PdBackend.cs" t="Include" />
<e p="PreviewExample.cs" t="Include" />
</e>
<e p="Resources" t="Include">
<e p="buildNumber.txt" t="Include" />

View file

@ -14,6 +14,7 @@
</explicitIncludes>
<explicitExcludes>
<Path>.idea</Path>
<Path>.vs</Path>
<Path>Library</Path>
<Path>Temp</Path>
<Path>obj</Path>

View file

@ -2,8 +2,15 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c6a8ca49-0b91-43c0-a787-44b1fda29c5f" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/Mapping.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/Mapping.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/MyPiece.playable" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/MyPiece.playable" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/contentModel.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/contentModel.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/indexLayout.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/indexLayout.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/.idea.UnityProject/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assembly-CSharp-Editor.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/Assembly-CSharp-Editor.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assembly-CSharp.csproj" beforeDir="false" afterPath="$PROJECT_DIR$/Assembly-CSharp.csproj" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/PdBackend.cs" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/PdBackend.cs.meta" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/Assets/Scenes/Examples/PdBackendDemo/PdBackendDemo.unity" beforeDir="false" afterPath="$PROJECT_DIR$/Assets/Scenes/Examples/PdBackendDemo/PdBackendDemo.unity" afterDir="false" />
<change beforePath="$PROJECT_DIR$/UnityProject.sln" beforeDir="false" afterPath="$PROJECT_DIR$/UnityProject.sln" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
@ -14,50 +21,9 @@
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/Scripts/Visualizer/PointCloudBehaviour.cs">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="8" />
<folding>
<marker date="1562524171247" expanded="true" signature="6:65" ph="..." />
<marker date="1562524171247" expanded="true" signature="87:2842" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="142:2840" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="636:1249" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="830:989" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1280:1347" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1406:1971" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1541:1932" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1716:1918" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2038:2607" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2174:2567" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2349:2553" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2666:2834" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/RmsAnalyzer.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="8" column="40" selection-start-line="8" selection-start-column="40" selection-end-line="8" selection-end-column="40" />
<folding>
<marker date="1566047198938" expanded="true" signature="6:37" ph="..." />
<marker date="1566047198938" expanded="true" signature="80:753" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="127:751" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="374:442" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="473:592" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="645:745" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/BallMapping.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="750">
<state>
<caret line="30" selection-start-line="30" selection-end-line="30" />
<folding>
<marker date="1566053310815" expanded="true" signature="61:855" ph="{...}" />
@ -69,6 +35,31 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/Assets/Editor/PdBackendEditor.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="632">
<caret line="78" column="21" lean-forward="true" selection-start-line="78" selection-start-column="21" selection-end-line="78" selection-end-column="21" />
<folding>
<marker date="1569667846069" expanded="true" signature="6:72" ph="..." />
<marker date="1569667846069" expanded="true" signature="94:3529" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="170:3527" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="298:405" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="543:611" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="658:2193" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="781:1572" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="839:1558" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2000:2159" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2231:2901" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2295:2861" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2366:2847" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2601:2681" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2943:3521" ph="{...}" />
</folding>
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/Assets/Shader/Vertex Modifier.shader">
<provider selected="true" editor-type-id="text-editor">
@ -121,8 +112,17 @@
<file pinned="false" current-in-tab="false">
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/26/658ea519/Texture2D.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="12875">
<caret line="524" column="16" selection-start-line="524" selection-start-column="16" selection-end-line="524" selection-end-column="16" />
<state relative-caret-position="10925">
<caret line="446" column="9" selection-start-line="446" selection-start-column="9" selection-end-line="446" selection-end-column="9" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="false">
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/25/56035e3b/Color.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="400">
<caret line="18" column="16" selection-start-line="18" selection-start-column="16" selection-end-line="18" selection-end-column="16" />
</state>
</provider>
</entry>
@ -188,12 +188,15 @@
<setting file="file://$PROJECT_DIR$/Assets/Scripts/VideoInput/Editor/UnitTest/ComponentFactoryTestCase.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/04/13252895/TextureFormat.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/ac/8ae67e56/Mesh.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/25/56035e3b/Color.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/659CD5F0-C4CE-410C-B23A-6CADD71BB76F/2a/9fa3f41e/IOException.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ThridParty/Editor/KinectCopyPluginDataHelper.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Editor/PdBackendEditor.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ThridParty/KinectScript/KinectBuffer.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ThridParty/Windows/Kinect/InfraredFrame.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/33/4486f8ea/NativeArray`1.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Scripts/VideoInput/KinectSensor.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/242531B3-D7D7-4252-86FA-13A3E999EEA8/1f/278e3286/GUI.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/ThridParty/Windows/Kinect/KinectSensor.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/2C24F0C1-857D-4078-B6D4-53F88E061A29/44/b50a5a54/UnmanagedMemoryAccessor.cs" root0="SKIP_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Scripts/VideoInput/ComponentFactory.cs" root0="FORCE_HIGHLIGHTING" />
@ -204,6 +207,7 @@
<setting file="file://$PROJECT_DIR$/Assets/Scripts/VideoInput/Editor/UnitTest/KinectSensorTestCase.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Scripts/Visualizer/IRPanelBehaviour.cs" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$PROJECT_DIR$/Assets/Shader/Vertex Modifier.shader" root0="FORCE_HIGHLIGHTING" />
<setting file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/242531B3-D7D7-4252-86FA-13A3E999EEA8/46/64a0ea05/Event.cs" root0="SKIP_HIGHLIGHTING" />
</component>
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
@ -249,13 +253,14 @@
<option value="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/BallControl.cs" />
<option value="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/MappingControl.cs" />
<option value="$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/BallMapping.cs" />
<option value="$PROJECT_DIR$/Assets/Editor/PdBackendEditor.cs" />
</list>
</option>
</component>
<component name="ProjectFrameBounds">
<option name="x" value="2036" />
<option name="y" value="878" />
<option name="width" value="1757" />
<option name="x" value="705" />
<option name="y" value="315" />
<option name="width" value="2112" />
<option name="height" value="1617" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="true" />
@ -264,54 +269,15 @@
<foldersAlwaysOnTop value="true" />
</navigator>
<panes>
<pane id="SolutionExplorer">
<option name="show-all-files" value="false" />
</pane>
<pane id="FileSystemExplorer" />
<pane id="UnityExplorer">
<subPane>
<expand>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Assets" type="8711f2a6:AssetsRoot" />
</path>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Assets" type="8711f2a6:AssetsRoot" />
<item name="Scenes" type="1045f7f1:UnityExplorerNode" />
</path>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Assets" type="8711f2a6:AssetsRoot" />
<item name="Scenes" type="1045f7f1:UnityExplorerNode" />
<item name="Examples" type="1045f7f1:UnityExplorerNode" />
</path>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Assets" type="8711f2a6:AssetsRoot" />
<item name="Scenes" type="1045f7f1:UnityExplorerNode" />
<item name="Examples" type="1045f7f1:UnityExplorerNode" />
<item name="Example1" type="1045f7f1:UnityExplorerNode" />
</path>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Assets" type="8711f2a6:AssetsRoot" />
<item name="Scenes" type="1045f7f1:UnityExplorerNode" />
<item name="Examples" type="1045f7f1:UnityExplorerNode" />
<item name="Example1" type="1045f7f1:UnityExplorerNode" />
<item name="script" type="1045f7f1:UnityExplorerNode" />
</path>
<path>
<item name="" type="e068e287:UnityExplorerRootNode" />
<item name="Packages" type="4e2708dd:PackagesRoot" />
</path>
</expand>
<select />
</subPane>
<option name="show-hidden-items" value="false" />
<option name="show-project-names" value="true" />
</pane>
<pane id="AssemblyExplorer" />
<pane id="SolutionExplorer">
<option name="show-all-files" value="false" />
</pane>
</panes>
</component>
<component name="PropertiesComponent">
@ -369,7 +335,9 @@
<workItem from="1562417897686" duration="5014000" />
<workItem from="1562427566179" duration="10564000" />
<workItem from="1562481324968" duration="27157000" />
<workItem from="1566046428045" duration="4731000" />
<workItem from="1566046428045" duration="5330000" />
<workItem from="1569660657308" duration="3276000" />
<workItem from="1569665495901" duration="2462000" />
</task>
<task id="LOCAL-00001" summary="add Kinect Manager">
<created>1562485186899</created>
@ -389,7 +357,7 @@
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="47466000" />
<option name="totallyTimeSpent" value="53803000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
@ -401,16 +369,15 @@
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="2036" y="878" width="1757" height="1617" extended-state="0" />
<editor active="true" />
<frame x="705" y="315" width="2112" height="1617" extended-state="0" />
<layout>
<window_info content_ui="combo" id="Project" order="0" sideWeight="0.83093923" visible="true" weight="0.27460223" />
<window_info id="Structure" order="1" sideWeight="0.16906077" side_tool="true" visible="true" weight="0.27460223" />
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.8287293" visible="true" weight="0.23245615" />
<window_info id="Structure" order="1" sideWeight="0.17127071" side_tool="true" visible="true" weight="0.23245615" />
<window_info id="Favorites" order="2" side_tool="true" />
<window_info anchor="bottom" id="Message" order="0" />
<window_info anchor="bottom" id="Find" order="1" />
<window_info anchor="bottom" id="Run" order="2" />
<window_info active="true" anchor="bottom" id="Debug" order="3" visible="true" weight="0.39907038" />
<window_info anchor="bottom" id="Debug" order="3" visible="true" weight="0.39907038" />
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="bottom" id="TODO" order="6" />
@ -886,6 +853,64 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/MappingControl.cs" />
<entry file="file://$PROJECT_DIR$/Assets/Scripts/Visualizer/PointCloudBehaviour.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250">
<caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="8" />
<folding>
<marker date="1562524171247" expanded="true" signature="6:65" ph="..." />
<marker date="1562524171247" expanded="true" signature="87:2842" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="142:2840" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="636:1249" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="830:989" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1280:1347" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1406:1971" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1541:1932" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1716:1918" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2038:2607" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2174:2567" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2349:2553" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2666:2834" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/242531B3-D7D7-4252-86FA-13A3E999EEA8/46/64a0ea05/Event.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="293">
<caret line="53" column="32" selection-start-line="53" selection-start-column="19" selection-end-line="53" selection-end-column="32" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/RmsAnalyzer.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="175">
<caret line="8" column="40" selection-start-line="8" selection-start-column="40" selection-end-line="8" selection-end-column="40" />
<folding>
<marker date="1566047198938" expanded="true" signature="6:37" ph="..." />
<marker date="1566047198938" expanded="true" signature="80:753" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="127:751" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="374:442" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="473:592" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="645:745" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/BallMapping.cs">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret line="30" selection-start-line="30" selection-end-line="30" />
<folding>
<marker date="1566053310815" expanded="true" signature="61:855" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="108:853" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="398:481" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="512:847" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Shader/Vertex Modifier.shader">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="400">
@ -931,8 +956,15 @@
</entry>
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/26/658ea519/Texture2D.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="12875">
<caret line="524" column="16" selection-start-line="524" selection-start-column="16" selection-end-line="524" selection-end-column="16" />
<state relative-caret-position="10925">
<caret line="446" column="9" selection-start-line="446" selection-start-column="9" selection-end-line="446" selection-end-column="9" />
</state>
</provider>
</entry>
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/FF5F04D6-6C19-4D96-86AB-314B6714BDBF/25/56035e3b/Color.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="400">
<caret line="18" column="16" selection-start-line="18" selection-start-column="16" selection-end-line="18" selection-end-column="16" />
</state>
</provider>
</entry>
@ -973,59 +1005,32 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scripts/Visualizer/PointCloudBehaviour.cs">
<entry file="file://$APPLICATION_CONFIG_DIR$/resharper-host/DecompilerCache/decompiler/242531B3-D7D7-4252-86FA-13A3E999EEA8/1f/278e3286/GUI.cs">
<provider selected="true" editor-type-id="text-editor">
<state>
<caret line="12" column="8" selection-start-line="12" selection-start-column="8" selection-end-line="12" selection-end-column="8" />
<folding>
<marker date="1562524171247" expanded="true" signature="6:65" ph="..." />
<marker date="1562524171247" expanded="true" signature="87:2842" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="142:2840" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="636:1249" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="830:989" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1280:1347" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1406:1971" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1541:1932" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="1716:1918" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2038:2607" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2174:2567" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2349:2553" ph="{...}" />
<marker date="1562524171247" expanded="true" signature="2666:2834" ph="{...}" />
</folding>
<state relative-caret-position="368">
<caret line="408" column="23" selection-start-line="408" selection-start-column="23" selection-end-line="408" selection-end-column="23" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/RmsAnalyzer.cs">
<entry file="file://$PROJECT_DIR$/Assets/Editor/PdBackendEditor.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="200">
<caret line="8" column="40" selection-start-line="8" selection-start-column="40" selection-end-line="8" selection-end-column="40" />
<state relative-caret-position="632">
<caret line="78" column="21" lean-forward="true" selection-start-line="78" selection-start-column="21" selection-end-line="78" selection-end-column="21" />
<folding>
<marker date="1566047198938" expanded="true" signature="6:37" ph="..." />
<marker date="1566047198938" expanded="true" signature="80:753" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="127:751" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="374:442" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="473:592" ph="{...}" />
<marker date="1566047198938" expanded="true" signature="645:745" ph="{...}" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/MappingControl.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="275">
<caret line="11" column="1" lean-forward="true" selection-start-line="11" selection-start-column="1" selection-end-line="11" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/Assets/Scenes/Examples/Example1/script/BallMapping.cs">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="750">
<caret line="30" selection-start-line="30" selection-end-line="30" />
<folding>
<marker date="1566053310815" expanded="true" signature="61:855" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="108:853" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="398:481" ph="{...}" />
<marker date="1566053310815" expanded="true" signature="512:847" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="6:72" ph="..." />
<marker date="1569667846069" expanded="true" signature="94:3529" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="170:3527" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="298:405" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="543:611" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="658:2193" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="781:1572" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="839:1558" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2000:2159" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2231:2901" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2295:2861" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2366:2847" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2601:2681" ph="{...}" />
<marker date="1569667846069" expanded="true" signature="2943:3521" ph="{...}" />
</folding>
</state>
</provider>

View file

@ -2,6 +2,10 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<_TargetFrameworkDirectories>non_empty_path_generated_by_rider_editor_plugin</_TargetFrameworkDirectories>
<_FullFrameworkReferenceAssemblyPaths>non_empty_path_generated_by_rider_editor_plugin</_FullFrameworkReferenceAssemblyPaths>
<DisableHandlePackageFileConflicts>true</DisableHandlePackageFileConflicts>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -22,7 +26,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2018_4_3;UNITY_2018_4;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_4_6;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2018_4_3;UNITY_2018_4;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_4_6;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@ -44,13 +48,6 @@
<ImplicitlyExpandNETStandardFacades>false</ImplicitlyExpandNETStandardFacades>
<ImplicitlyExpandDesignTimeFacades>false</ImplicitlyExpandDesignTimeFacades>
</PropertyGroup>
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectType>Editor:5</UnityProjectType>
<UnityBuildTarget>StandaloneWindows64:19</UnityBuildTarget>
<UnityVersion>2018.4.3f1</UnityVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>C:\Program Files\Unity_2018.4.3f1\Editor\Data\Managed/UnityEngine/UnityEngine.dll</HintPath>
@ -61,6 +58,8 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\Editor\AppBuilder.cs" />
<Compile Include="Assets\Editor\PdBackendEditor.cs" />
<Compile Include="Assets\Editor\PreviewExampleInspector.cs" />
<Compile Include="Assets\Scripts\VideoInput\Editor\UnitTest\ComponentFactoryTestCase.cs" />
<Compile Include="Assets\Scripts\VideoInput\Editor\UnitTest\KinectSensorTestCase.cs" />
<Compile Include="Assets\ThridParty\Editor\KinectCopyPluginDataHelper.cs" />
@ -316,9 +315,6 @@
<Reference Include="UnityEditor.WindowsStandalone.Extensions">
<HintPath>C:/Program Files/Unity_2018.4.3f1/Editor/Data/PlaybackEngines/windowsstandalonesupport/UnityEditor.WindowsStandalone.Extensions.dll</HintPath>
</Reference>
<Reference Include="SyntaxTree.VisualStudio.Unity.Bridge">
<HintPath>C:/Program Files (x86)/Microsoft Visual Studio Tools for Unity/15.0/Editor/SyntaxTree.VisualStudio.Unity.Bridge.dll</HintPath>
</Reference>
<Reference Include="Castle.Core">
<HintPath>C:/Users/chikashi/Development/Soundvision/UnityProject/Assets/Plugins/Castle.Core.dll</HintPath>
</Reference>
@ -708,7 +704,6 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="GenerateTargetFrameworkMonikerAttribute" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -2,6 +2,10 @@
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<LangVersion>latest</LangVersion>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<_TargetFrameworkDirectories>non_empty_path_generated_by_rider_editor_plugin</_TargetFrameworkDirectories>
<_FullFrameworkReferenceAssemblyPaths>non_empty_path_generated_by_rider_editor_plugin</_FullFrameworkReferenceAssemblyPaths>
<DisableHandlePackageFileConflicts>true</DisableHandlePackageFileConflicts>
</PropertyGroup>
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -22,7 +26,7 @@
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>Temp\bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2018_4_3;UNITY_2018_4;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;ENABLE_VSTU;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<DefineConstants>DEBUG;TRACE;UNITY_5_3_OR_NEWER;UNITY_5_4_OR_NEWER;UNITY_5_5_OR_NEWER;UNITY_5_6_OR_NEWER;UNITY_2017_1_OR_NEWER;UNITY_2017_2_OR_NEWER;UNITY_2017_3_OR_NEWER;UNITY_2017_4_OR_NEWER;UNITY_2018_1_OR_NEWER;UNITY_2018_2_OR_NEWER;UNITY_2018_3_OR_NEWER;UNITY_2018_4_OR_NEWER;UNITY_2018_4_3;UNITY_2018_4;UNITY_2018;PLATFORM_ARCH_64;UNITY_64;UNITY_INCLUDE_TESTS;ENABLE_AUDIO;ENABLE_CACHING;ENABLE_CLOTH;ENABLE_DUCK_TYPING;ENABLE_MICROPHONE;ENABLE_MULTIPLE_DISPLAYS;ENABLE_PHYSICS;ENABLE_SPRITES;ENABLE_GRID;ENABLE_TILEMAP;ENABLE_TERRAIN;ENABLE_TEXTURE_STREAMING;ENABLE_DIRECTOR;ENABLE_UNET;ENABLE_LZMA;ENABLE_UNITYEVENTS;ENABLE_WEBCAM;ENABLE_WWW;ENABLE_CLOUD_SERVICES_COLLAB;ENABLE_CLOUD_SERVICES_COLLAB_SOFTLOCKS;ENABLE_CLOUD_SERVICES_ADS;ENABLE_CLOUD_HUB;ENABLE_CLOUD_PROJECT_ID;ENABLE_CLOUD_SERVICES_USE_WEBREQUEST;ENABLE_CLOUD_SERVICES_UNET;ENABLE_CLOUD_SERVICES_BUILD;ENABLE_CLOUD_LICENSE;ENABLE_EDITOR_HUB;ENABLE_EDITOR_HUB_LICENSE;ENABLE_WEBSOCKET_CLIENT;ENABLE_DIRECTOR_AUDIO;ENABLE_DIRECTOR_TEXTURE;ENABLE_TIMELINE;ENABLE_EDITOR_METRICS;ENABLE_EDITOR_METRICS_CACHING;ENABLE_MANAGED_JOBS;ENABLE_MANAGED_TRANSFORM_JOBS;ENABLE_MANAGED_ANIMATION_JOBS;INCLUDE_DYNAMIC_GI;INCLUDE_GI;ENABLE_MONO_BDWGC;PLATFORM_SUPPORTS_MONO;RENDER_SOFTWARE_CURSOR;INCLUDE_PUBNUB;ENABLE_VIDEO;ENABLE_CUSTOM_RENDER_TEXTURE;ENABLE_LOCALIZATION;PLATFORM_STANDALONE_WIN;PLATFORM_STANDALONE;UNITY_STANDALONE_WIN;UNITY_STANDALONE;ENABLE_SUBSTANCE;ENABLE_RUNTIME_GI;ENABLE_MOVIES;ENABLE_NETWORK;ENABLE_CRUNCH_TEXTURE_COMPRESSION;ENABLE_UNITYWEBREQUEST;ENABLE_CLOUD_SERVICES;ENABLE_CLOUD_SERVICES_ANALYTICS;ENABLE_CLOUD_SERVICES_PURCHASING;ENABLE_CLOUD_SERVICES_CRASH_REPORTING;ENABLE_OUT_OF_PROCESS_CRASH_HANDLER;ENABLE_EVENT_QUEUE;ENABLE_CLUSTER_SYNC;ENABLE_CLUSTERINPUT;ENABLE_VR;ENABLE_AR;ENABLE_WEBSOCKET_HOST;ENABLE_MONO;NET_STANDARD_2_0;ENABLE_PROFILER;UNITY_ASSERTIONS;UNITY_EDITOR;UNITY_EDITOR_64;UNITY_EDITOR_WIN;ENABLE_UNITY_COLLECTIONS_CHECKS;ENABLE_BURST_AOT;UNITY_TEAM_LICENSE;CSHARP_7_OR_LATER;CSHARP_7_3_OR_NEWER</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<NoWarn>0169</NoWarn>
@ -44,13 +48,6 @@
<ImplicitlyExpandNETStandardFacades>false</ImplicitlyExpandNETStandardFacades>
<ImplicitlyExpandDesignTimeFacades>false</ImplicitlyExpandDesignTimeFacades>
</PropertyGroup>
<PropertyGroup>
<ProjectTypeGuids>{E097FAD1-6243-4DAD-9C02-E9B9EFC3FFC1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<UnityProjectGenerator>Unity/VSTU</UnityProjectGenerator>
<UnityProjectType>Game:1</UnityProjectType>
<UnityBuildTarget>StandaloneWindows64:19</UnityBuildTarget>
<UnityVersion>2018.4.3f1</UnityVersion>
</PropertyGroup>
<ItemGroup>
<Reference Include="UnityEngine">
<HintPath>C:\Program Files\Unity_2018.4.3f1\Editor\Data\Managed/UnityEngine/UnityEngine.dll</HintPath>
@ -60,8 +57,9 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\PdBackend\PdBackend.cs" />
<Compile Include="Assets\PdBackend\PreviewExample.cs" />
<Compile Include="Assets\Scenes\Examples\Example1\script\BallMapping.cs" />
<Compile Include="Assets\Scenes\Examples\Example1\script\PdBackend.cs" />
<Compile Include="Assets\Scenes\Examples\Example1\script\RmsAnalyzer.cs" />
<Compile Include="Assets\Scripts\PdConnection\PdArray.cs" />
<Compile Include="Assets\Scripts\Versioning\VersionToggleBehaviour.cs" />
@ -750,7 +748,6 @@
</Reference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="GenerateTargetFrameworkMonikerAttribute" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">

View file

@ -0,0 +1,105 @@
using UnityEngine;
using UnityEditor;
using Random = UnityEngine.Random;
namespace cylvester
{
[CustomEditor(typeof(PdBackend))]
class PdBackendEditor : Editor
{
private int selectedSpectrum_;
private Texture2D texture_;
private readonly string[] channels = {
"1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16"
};
private Rect paintSpace_;
private Rect selectedArea_;
private Rect scaledRect_;
public void OnEnable()
{
texture_ = new Texture2D(256, 256);
}
public override void OnInspectorGUI()
{
var backend = (PdBackend)target;
if (Event.current.isMouse && Event.current.button == 0)
{
switch (Event.current.type)
{
case EventType.MouseDown:
{
var mousePos = Event.current.mousePosition;
selectedArea_.x = mousePos.x;
selectedArea_.y = mousePos.y;
break;
}
case EventType.MouseDrag:
{
var mousePos = Event.current.mousePosition;
selectedArea_.width = mousePos.x - selectedArea_.x;
selectedArea_.height = mousePos.y - selectedArea_.y;
UpdateScaledRect();
break;
}
}
}
GUILayout.Label("PureData Inputs", EditorStyles.boldLabel);
selectedSpectrum_ = EditorGUILayout.Popup("Input Channel", selectedSpectrum_, channels);
GUILayout.Space(30);
GUILayout.Label("Spectrum Extractor", EditorStyles.boldLabel);
var paintSpace = GUILayoutUtility.GetRect(256, 512, 256, 256);
if (Event.current.type == EventType.Repaint)
{
paintSpace_ = paintSpace;
RenderTexture();
GUI.DrawTexture(paintSpace_, texture_);
}
Repaint();
}
private void RenderTexture()
{
for (var y = 0; y < texture_.height; y++)
{
for (var x = 0; x < texture_.width; x++)
{
var alpha = 0.4f;
if ((scaledRect_.x < x && x < (scaledRect_.x + scaledRect_.width)) &&
(scaledRect_.y < y && y < (scaledRect_.y + scaledRect_.height)))
{
alpha = 1f;
}
var color = new Color(Random.value, Random.value, Random.value, alpha);
texture_.SetPixel(x, 256-y, color);
}
}
texture_.Apply();
}
private void UpdateScaledRect()
{
var xPos = (selectedArea_.x - paintSpace_.x) / paintSpace_.width;
var yPos = (selectedArea_.y - paintSpace_.y) / paintSpace_.height;
var width = selectedArea_.width / paintSpace_.width;
var height = selectedArea_.height / paintSpace_.height;
scaledRect_.x = xPos * texture_.width;
scaledRect_.y = yPos * texture_.height;
scaledRect_.width = width * texture_.width;
scaledRect_.height = height * texture_.height;
Debug.Log(scaledRect_);
}
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 768e38fa16ac94e4996facebfa5050c9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,13 @@
using UnityEngine;
using UnityEditor;
[CustomEditor(typeof(PreviewExample))]
public class PreviewExampleInspector : Editor {
public override bool HasPreviewGUI() { return true; }
public override GUIContent GetPreviewTitle() { return new GUIContent("name"); }
public override void OnPreviewGUI(Rect r, GUIStyle background) {
GUI.Box(new Rect(10, 10, 100, 100), "Preview");
}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 006fa2bbb30564c4da3895276ec8a526
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7978207823e9dad49b91f32a347617a0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -8,7 +8,7 @@ namespace cylvester
[SerializeField] string mainPatch;
[SerializeField] int inchannels = 2;
Process pdProcess_;
private Process pdProcess_;
void Start()
{
@ -20,6 +20,8 @@ namespace cylvester
var path = Application.streamingAssetsPath + "/pd/patch/" + mainPatch;
pdProcess_.StartInfo.Arguments = "-nogui -rt -inchannels " + inchannels + " " + path;
pdProcess_.Start();
}
private void OnDestroy()

View file

@ -0,0 +1,5 @@
using UnityEngine;
public class PreviewExample : MonoBehaviour
{
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 1f64c3bbc6cc3ba419c8c56c02e08ec2
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -224,7 +224,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
mainPatch: test.pd
audiodriver:
inchannels: 2
--- !u!4 &987772534
Transform:
m_ObjectHideFlags: 0
@ -308,3 +308,107 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
--- !u!1 &1232139010
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1232139015}
- component: {fileID: 1232139014}
- component: {fileID: 1232139013}
- component: {fileID: 1232139012}
- component: {fileID: 1232139011}
m_Layer: 0
m_Name: Cube
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1232139011
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1232139010}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1f64c3bbc6cc3ba419c8c56c02e08ec2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!65 &1232139012
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1232139010}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 1, y: 1, z: 1}
m_Center: {x: 0, y: 0, z: 0}
--- !u!23 &1232139013
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1232139010}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
--- !u!33 &1232139014
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1232139010}
m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
--- !u!4 &1232139015
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1232139010}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 4.8635645, y: -4.5257893, z: 12.978625}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View file

@ -1,6 +1,5 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp.csproj", "{5B580621-09B4-68CB-B5F4-5B9DD210A60F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp-Editor", "Assembly-CSharp-Editor.csproj", "{3CC9D2C0-C461-07D9-EDF3-4FFB4DE5C299}"
@ -23,4 +22,7 @@ Global
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Assembly-CSharp.csproj
EndGlobalSection
EndGlobal