EditorWidgetSystem that takes care of moving widgets around

This commit is contained in:
2016-01-21 10:30:19 +01:00
parent 5e70d6eef6
commit f1345419b6
7 changed files with 135 additions and 11 deletions
@@ -6,15 +6,14 @@
<Resource>Models/TranslationWidgetOrigin.obj</Resource>
</c:Model>
<c:Transform/>
<c:UniformScale>
<Scale X="0.200000003" Y="0.200000003" Z="0.200000003"/>
</c:UniformScale>
</Components>
<Children>
<Entity name="X">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="1" Y="0" Z="0"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/TranslationWidgetX.obj</Resource>
</c:Model>
@@ -24,7 +23,9 @@
</Entity>
<Entity name="Y">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="0" Y="1" Z="0"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/TranslationWidgetY.obj</Resource>
</c:Model>
@@ -34,7 +35,9 @@
</Entity>
<Entity name="Z">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="0" Y="0" Z="1"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/TranslationWidgetZ.obj</Resource>
</c:Model>
@@ -44,7 +47,9 @@
</Entity>
<Entity name="XPlane">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="0" Y="1" Z="1"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/WidgetPlaneX.obj</Resource>
</c:Model>
@@ -54,7 +59,9 @@
</Entity>
<Entity name="YPlane">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="1" Y="0" Z="1"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/WidgetPlaneY.obj</Resource>
</c:Model>
@@ -64,7 +71,9 @@
</Entity>
<Entity name="ZPlane">
<Components>
<c:EditorWidget/>
<c:EditorWidget>
<Axis X="1" Y="1" Z="0"/>
</c:EditorWidget>
<c:Model>
<Resource>Models/WidgetPlaneZ.obj</Resource>
</c:Model>