Skip to content

Commit 0e08bc2

Browse files
authored
Merge pull request #6 from bj-rn/feature/Hints
Adds RequestHandTrackingHints to Ultraleap
2 parents 7e4c275 + f87d801 commit 0e08bc2

File tree

4 files changed

+373
-112
lines changed

4 files changed

+373
-112
lines changed

VL.Devices.Ultraleap.vl

+151-15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Document xmlns:p="property" xmlns:r="reflection" Id="LpW2fgt4vgDN4fpKwkjTsk" LanguageVersion="2024.6.6" Version="0.128">
3-
<NugetDependency Id="NOZrMuiEEB6OHOMPkiarhI" Location="VL.CoreLib" Version="2024.6.6" />
2+
<Document xmlns:p="property" xmlns:r="reflection" Id="LpW2fgt4vgDN4fpKwkjTsk" LanguageVersion="2024.6.7-0228-gd4263f9987" Version="0.128">
3+
<NugetDependency Id="NOZrMuiEEB6OHOMPkiarhI" Location="VL.CoreLib" Version="2024.6.7-0228-gd4263f9987" />
44
<Patch Id="VtGIXyzx3JUO95lxau4Edy">
55
<Canvas Id="VJ0CQ6Ug3OAMaaOp6wlmmK" DefaultCategory="Devices.Ultraleap" CanvasType="FullCategory">
66
<Canvas Id="S5G2MY7aGuvOJsFhyPeIqG" Name="Advanced" Position="98,126">
@@ -1603,6 +1603,100 @@
16031603
<ControlPoint Id="KSjb62Zs4gzM7eXattnTYv" Bounds="1144,987" />
16041604
<Pad Id="C6yEzGjnu8JLb5WZP5hCAu" Bounds="1650,900" />
16051605
<ControlPoint Id="SPJNQcp1KA9QbfxvAy0AgR" Bounds="1248,988" />
1606+
<Node Bounds="1548,1710,198,280" Id="G7PY3pYJCWWPdDhv6tV3jX">
1607+
<p:NodeReference LastCategoryFullName="Primitive" LastDependency="Builtin">
1608+
<Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
1609+
<CategoryReference Kind="Category" Name="Primitive" />
1610+
<Choice Kind="ApplicationStatefulRegion" Name="If" />
1611+
</p:NodeReference>
1612+
<Pin Id="Qs6Oo0fuAFKOjfs4kMgHiD" Name="Condition" Kind="InputPin" />
1613+
<Patch Id="QxtmRicq59uLn3nG0eECKa" ManuallySortedPins="true">
1614+
<Patch Id="HzmeGpz2IiEMYzAprVxH5d" Name="Create" ManuallySortedPins="true" />
1615+
<Patch Id="Ov2zBrxp7qIP9b1FMnZivu" Name="Then" ManuallySortedPins="true" />
1616+
<Node Bounds="1560,1944,139,26" Id="TbH1RdgbSsXOG1BjbIk9oa">
1617+
<p:NodeReference LastCategoryFullName="Devices.Ultraleap.Controller" LastDependency="VL.Devices.Ultraleap.vl">
1618+
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
1619+
<Choice Kind="OperationCallFlag" Name="RequestHandTrackingHints" />
1620+
</p:NodeReference>
1621+
<Pin Id="NbwhjY2DaidOKp7YkD7OAS" Name="Input" Kind="StateInputPin" />
1622+
<Pin Id="T22HfoSz24cK93NkYOIqde" Name="Hints" Kind="InputPin" />
1623+
<Pin Id="GKmh3xgUI4VQHjdzavEWNb" Name="Device" Kind="InputPin" />
1624+
<Pin Id="DicpEOhleZaMDVst1up32o" Name="Output" Kind="StateOutputPin" />
1625+
</Node>
1626+
<Node Bounds="1694,1917,40,19" Id="LE3rrLrUccaOelo5RTg5Bj">
1627+
<p:NodeReference LastCategoryFullName="Primitive.Object" LastDependency="CoreLibBasics.vl">
1628+
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
1629+
<Choice Kind="OperationCallFlag" Name="NULL" />
1630+
</p:NodeReference>
1631+
<Pin Id="FmYhMiAnjwPOCgcMZQ45sJ" Name="Result" Kind="OutputPin" />
1632+
</Node>
1633+
<Node Bounds="1615,1730,93,81" Id="C3L3Hi1HBRTOtzBxwGprBh">
1634+
<p:NodeReference LastCategoryFullName="Primitive" LastDependency="Builtin">
1635+
<Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
1636+
<CategoryReference Kind="Category" Name="Primitive" />
1637+
<Choice Kind="ApplicationStatefulRegion" Name="ForEach" />
1638+
</p:NodeReference>
1639+
<Pin Id="FoonRMYkhRMLbfx1Zdw7eu" Name="Break" Kind="OutputPin" />
1640+
<Patch Id="H2zl555yErsN3nqGhKE2FE" ManuallySortedPins="true">
1641+
<Patch Id="SjbtKfkpKEMM3tOGMJXKDQ" Name="Create" ManuallySortedPins="true" />
1642+
<Patch Id="OSi104tzdx2Lj3Xi81hYPP" Name="Update" ManuallySortedPins="true" />
1643+
<Patch Id="JRSxeM2ybKmNgihIJuerYv" Name="Dispose" ManuallySortedPins="true" />
1644+
<Node Bounds="1627,1759,69,19" Id="B1kDwsz7VK0MxZM2C1Rxyi">
1645+
<p:NodeReference LastCategoryFullName="VL.Devices.Ultraleap.UltraleapHelper" LastDependency="VL.Devices.Ultraleap.dll">
1646+
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
1647+
<CategoryReference Kind="AssemblyCategory" Name="UltraleapHelper" />
1648+
<Choice Kind="OperationCallFlag" Name="LookupHint" />
1649+
</p:NodeReference>
1650+
<Pin Id="S1V4tr1I2KTNvD4MoMBrmB" Name="Key" Kind="InputPin" />
1651+
<Pin Id="VwhlJUvHpCwPAXBfHKG8ug" Name="Result" Kind="OutputPin" />
1652+
</Node>
1653+
</Patch>
1654+
<ControlPoint Id="CiWzPHhZeVKOEHUvoYdYEE" Bounds="1629,1736" Alignment="Top" />
1655+
<ControlPoint Id="IeHY8d6kVdLNvGfu8CjGTS" Bounds="1629,1805" Alignment="Bottom" />
1656+
</Node>
1657+
<Node Bounds="1627,1854,91,26" Id="DNGKsZnOYtpMrWzQYfluLc">
1658+
<p:NodeReference LastCategoryFullName="Collections.Spread" LastDependency="VL.CoreLib.vl">
1659+
<Choice Kind="NodeFlag" Name="Node" Fixed="true" />
1660+
<Choice Kind="OperationCallFlag" Name="GetInternalArray" />
1661+
</p:NodeReference>
1662+
<Pin Id="LIJcZi4F1lsOCkX0QGvw5P" Name="Input" Kind="StateInputPin" />
1663+
<Pin Id="OrXrMZzAcJYMwX8Hfk0naq" Name="Result" Kind="OutputPin" />
1664+
</Node>
1665+
</Patch>
1666+
</Node>
1667+
<Pad Id="N9bQdFnFnDOQJRaGav8B6L" SlotId="OljbjZyXyxaLxX1YRa9bMD" Bounds="1508,1928" />
1668+
<ControlPoint Id="FAkFeDQ7Aa2OPCoGafVTrr" Bounds="1629,1675" />
1669+
<ControlPoint Id="R9BYqYtg951NDOKQrIZpN4" Bounds="1550,1675" />
1670+
<Overlay Id="UPVxc98lbOEPSKck8UWER8" Name="RequestHandTrackingHints" Bounds="1400,1616,802,548">
1671+
<p:ColorIndex p:Type="Int32">2</p:ColorIndex>
1672+
</Overlay>
1673+
<Pad Id="SAnOLh55xVGP6rJAYlabIY" Bounds="1401,2013,490,64" ShowValueBox="true" isIOBox="true" Value="/// Send a specific set of hints, if this does not include previously set ones, they will be cleared.&#xD;&#xA;/// &lt;/summary&gt;&#xD;&#xA;/// &lt;param name=&quot;hints&quot;&gt;The hints you wish to send&lt;/param&gt;&#xD;&#xA;/// &lt;param name=&quot;device&quot;&gt;An optional specific Device, otherwise the first found will be used&lt;/param&gt;">
1674+
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
1675+
<Choice Kind="TypeFlag" Name="String" />
1676+
</p:TypeAnnotation>
1677+
<p:ValueBoxSettings>
1678+
<p:fontsize p:Type="Int32">7</p:fontsize>
1679+
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Comment</p:stringtype>
1680+
</p:ValueBoxSettings>
1681+
</Pad>
1682+
<Pad Id="REdQDRfoZGiLMysWgouAEy" Bounds="1403,2082,505,26" ShowValueBox="true" isIOBox="true" Value="https://docs.ultraleap.com/api-reference/tracking-api/group/group___hints.html">
1683+
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
1684+
<Choice Kind="TypeFlag" Name="String" />
1685+
</p:TypeAnnotation>
1686+
<p:ValueBoxSettings>
1687+
<p:fontsize p:Type="Int32">9</p:fontsize>
1688+
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Link</p:stringtype>
1689+
</p:ValueBoxSettings>
1690+
</Pad>
1691+
<Pad Id="OqTrto8xiLjMX5TQOY1r0m" Bounds="1403,2111,759,22" ShowValueBox="true" isIOBox="true" Value="https://docs.ultraleap.com/api-reference/unity-api/class/class_leap_1_1_controller.html?highlight=requesthandtrackinghints#function-Leap.Controller.RequestHandTrackingHints">
1692+
<p:TypeAnnotation LastCategoryFullName="Primitive" LastDependency="VL.CoreLib.vl">
1693+
<Choice Kind="TypeFlag" Name="String" />
1694+
</p:TypeAnnotation>
1695+
<p:ValueBoxSettings>
1696+
<p:fontsize p:Type="Int32">9</p:fontsize>
1697+
<p:stringtype p:Assembly="VL.Core" p:Type="VL.Core.StringType">Link</p:stringtype>
1698+
</p:ValueBoxSettings>
1699+
</Pad>
16061700
</Canvas>
16071701
<Link Id="LfU0tNpw0cBPIr8WPZVHkH" Ids="GlpwZIMkisxQOrItbujm0b,KjtBYxSLxN3Qd9eJtOVoYp" IsHidden="true" />
16081702
<Link Id="JCJzkbni0g5N5e7EBehWhI" Ids="G4FSrMbABJsPwCFSAWRmrZ,OEirW9nePp3PZD7I4R8Bs2" IsHidden="true" />
@@ -1757,15 +1851,6 @@
17571851
</p:TypeAnnotation>
17581852
</Pin>
17591853
</Patch>
1760-
<ProcessDefinition Id="VQ3lpLnDXRWM7Cywoe8P3B" HasStateOut="true">
1761-
<Fragment Id="UqjisjdnJUPNbrDbmuc92b" Patch="SzQ5K2HM2loK9maizjp4oD" Enabled="true" />
1762-
<Fragment Id="P568I7lUN4sPX1u2HqMsZ7" Patch="J9aCRjBkq05OGgMFoIUbfI" Enabled="true" />
1763-
<Fragment Id="MIveId93lVnLCkHhIvFjx9" Patch="PgzCeyZfqkPP1CPIGl8Sxq" Enabled="true" />
1764-
<Fragment Id="EkCuhWhgwpHO9m5iCXEszG" Patch="Tksop9jo3w3MrsydEfs7Uj" />
1765-
<Fragment Id="ChJGBkzxNHBPK0SzC6EEKG" Patch="VXFh2uXBXNePkezKOYZ8UM" />
1766-
<Fragment Id="MPmfN7D8vP7OITuAU2Ae3D" Patch="TPooMHAi5qoQXUWqzfD9Gw" />
1767-
<Fragment Id="DL9Ipy1ZwYsNInlEhFCM72" Patch="QzksMHm5Mq0OYpwyfmOssq" />
1768-
</ProcessDefinition>
17691854
<Link Id="QeKJM0F4ih3Ms9FxabYbAE" Ids="O0qOR9OqKtLMt7nQ74aB2m,Ifs910DNAViNVxRfZ3lOcR" />
17701855
<Link Id="NB9x9Sd26sfO0es23YirSa" Ids="Adr2whxeGVhOMmYr0Bttkl,QnSeuLJvCEJMWRIBEMlt5E" IsHidden="true" />
17711856
<Link Id="HMI1gxrKipPPSdcboBrt2s" Ids="A9R0Wr1zCagMw3l5nLiRvX,TblMFIRvEq6LL96gy2qlPQ" IsHidden="true" />
@@ -1781,6 +1866,39 @@
17811866
<Link Id="EtlnIieViurP25zA7cjeFb" Ids="C6yEzGjnu8JLb5WZP5hCAu,EAtvgHUUQDINl59N3SYFJM" />
17821867
<Link Id="JI7YrZqt6GPPGXSjKbT9fA" Ids="C6yEzGjnu8JLb5WZP5hCAu,SPJNQcp1KA9QbfxvAy0AgR" />
17831868
<Link Id="O0R8Ras9e1iPXXOMZdbyLW" Ids="SPJNQcp1KA9QbfxvAy0AgR,CnXX4xEvFpjMHwfZRqvhSQ" IsHidden="true" />
1869+
<Link Id="PVvWGP5oIJIQQLPO7ikxdP" Ids="FmYhMiAnjwPOCgcMZQ45sJ,GKmh3xgUI4VQHjdzavEWNb" />
1870+
<Link Id="CooyFcdIAMJNmgsqSppV6R" Ids="N9bQdFnFnDOQJRaGav8B6L,NbwhjY2DaidOKp7YkD7OAS" />
1871+
<Link Id="QExF2rLQ4faPmiKrvliG9A" Ids="DErUOKKFdVGMhf22l58BOL,FAkFeDQ7Aa2OPCoGafVTrr" IsHidden="true" />
1872+
<Link Id="GKKSuYNoQ5qPbDiKG2dJpP" Ids="FAkFeDQ7Aa2OPCoGafVTrr,CiWzPHhZeVKOEHUvoYdYEE" />
1873+
<Link Id="VeqdUGXJLl9NHxBRDPEHFh" Ids="IeHY8d6kVdLNvGfu8CjGTS,LIJcZi4F1lsOCkX0QGvw5P" />
1874+
<Link Id="DTfH7GS7cEdO0RsVCKf1fo" Ids="OrXrMZzAcJYMwX8Hfk0naq,T22HfoSz24cK93NkYOIqde" />
1875+
<Link Id="FNXLnhxflnHMlg7aEQmKFo" Ids="R9BYqYtg951NDOKQrIZpN4,Qs6Oo0fuAFKOjfs4kMgHiD" />
1876+
<Link Id="PovNZlQy60xL5PmsTcFQOV" Ids="IaC2I5eBReJOSkAXH0wNIQ,R9BYqYtg951NDOKQrIZpN4" IsHidden="true" />
1877+
<Patch Id="LbCmBC8aWhCPPJGsaMC2XS" Name="RequestHandtrackingHints (Internal)" ManuallySortedPins="true">
1878+
<Pin Id="DErUOKKFdVGMhf22l58BOL" Name="Hints" Kind="InputPin" Visibility="Optional">
1879+
<p:TypeAnnotation LastCategoryFullName="Collections" LastDependency="VL.CoreLib.vl">
1880+
<Choice Kind="TypeFlag" Name="Spread" />
1881+
<p:TypeArguments>
1882+
<TypeReference>
1883+
<Choice Kind="TypeFlag" Name="LeapHint" />
1884+
</TypeReference>
1885+
</p:TypeArguments>
1886+
</p:TypeAnnotation>
1887+
</Pin>
1888+
<Pin Id="IaC2I5eBReJOSkAXH0wNIQ" Name="Request Hints" Kind="InputPin" Visibility="Optional" />
1889+
</Patch>
1890+
<ProcessDefinition Id="VQ3lpLnDXRWM7Cywoe8P3B" HasStateOut="true">
1891+
<Fragment Id="UqjisjdnJUPNbrDbmuc92b" Patch="SzQ5K2HM2loK9maizjp4oD" Enabled="true" />
1892+
<Fragment Id="P568I7lUN4sPX1u2HqMsZ7" Patch="J9aCRjBkq05OGgMFoIUbfI" Enabled="true" />
1893+
<Fragment Id="ORLeuwQrWLZNBkGan0I8bD" Patch="LbCmBC8aWhCPPJGsaMC2XS" Enabled="true" />
1894+
<Fragment Id="MIveId93lVnLCkHhIvFjx9" Patch="PgzCeyZfqkPP1CPIGl8Sxq" Enabled="true" />
1895+
<Fragment Id="EkCuhWhgwpHO9m5iCXEszG" Patch="Tksop9jo3w3MrsydEfs7Uj" Enabled="true" />
1896+
<Fragment Id="ChJGBkzxNHBPK0SzC6EEKG" Patch="VXFh2uXBXNePkezKOYZ8UM" />
1897+
<Fragment Id="MPmfN7D8vP7OITuAU2Ae3D" Patch="TPooMHAi5qoQXUWqzfD9Gw" />
1898+
<Fragment Id="DL9Ipy1ZwYsNInlEhFCM72" Patch="QzksMHm5Mq0OYpwyfmOssq" />
1899+
</ProcessDefinition>
1900+
<Link Id="DMVBTa9s7kzO7WjTZ6YJn7" Ids="CiWzPHhZeVKOEHUvoYdYEE,S1V4tr1I2KTNvD4MoMBrmB" />
1901+
<Link Id="HS9plV2bxw6PKogMb8yLIV" Ids="VwhlJUvHpCwPAXBfHKG8ug,IeHY8d6kVdLNvGfu8CjGTS" />
17841902
</Patch>
17851903
</Node>
17861904
<Canvas Id="T647C29KRunLMkaJErNEwx" Name="Internal" Position="299,127">
@@ -3716,7 +3834,7 @@
37163834
************************ Stickhand ************************
37173835
37183836
-->
3719-
<Node Name="Stickhand" Bounds="120,636" Id="A2SGQsb8yJFP38STp9SFEM">
3837+
<Node Name="Stickhand" Bounds="115,627" Id="A2SGQsb8yJFP38STp9SFEM">
37203838
<p:NodeReference LastCategoryFullName="Primitive" LastDependency="builtin">
37213839
<Choice Kind="ContainerDefinition" Name="Process" />
37223840
</p:NodeReference>
@@ -4168,7 +4286,7 @@
41684286
************************ Boxhand ************************
41694287
41704288
-->
4171-
<Node Name="Boxhand" Bounds="293,635" Id="BsbAvskp7VJOxZCBow5y1E">
4289+
<Node Name="Boxhand" Bounds="316,631" Id="BsbAvskp7VJOxZCBow5y1E">
41724290
<p:NodeReference>
41734291
<Choice Kind="ContainerDefinition" Name="Process" />
41744292
<FullNameCategoryReference ID="Primitive" />
@@ -4484,7 +4602,7 @@
44844602
************************ ZBone ************************
44854603
44864604
-->
4487-
<Node Name="ZBone" Bounds="123,707" Id="KyT5WHWMsOZOFyToNMnoIh">
4605+
<Node Name="ZBone" Bounds="116,729" Id="KyT5WHWMsOZOFyToNMnoIh">
44884606
<p:NodeReference>
44894607
<Choice Kind="ContainerDefinition" />
44904608
</p:NodeReference>
@@ -4684,6 +4802,24 @@
46844802
<Link Id="UWfGeFqeJ0CLhy4iMw1JdI" Ids="TJHgJqtXhn9NwQs7rMjajH,L694LQpvQ6jNklN7Oiz0l4" />
46854803
</Patch>
46864804
</Node>
4805+
<!--
4806+
4807+
************************ LeapHint ************************
4808+
4809+
-->
4810+
<Node Name="LeapHint" Bounds="716,230" Id="Ckg12A2jSj9MVx6z3h3BDi">
4811+
<p:NodeReference>
4812+
<Choice Kind="ForwardRecordDefinition" Name="Immutable Forward" />
4813+
<CategoryReference Kind="Category" Name="Primitive" />
4814+
</p:NodeReference>
4815+
<p:TypeAnnotation LastCategoryFullName="VL.Devices.Ultraleap" LastDependency="VL.Devices.Ultraleap.dll">
4816+
<Choice Kind="TypeFlag" Name="LeapHint" />
4817+
</p:TypeAnnotation>
4818+
<Patch Id="NPY28W6OkqWNCRHBj6VFxi">
4819+
<Canvas Id="GLZXwMWQ3GfQOJRc3VuV8Q" BordersChecked="false" CanvasType="Group" />
4820+
<ProcessDefinition Id="MvFB0hZnRyyMaDU2anXhm0" IsHidden="true" />
4821+
</Patch>
4822+
</Node>
46874823
</Canvas>
46884824
<!--
46894825
@@ -4708,5 +4844,5 @@
47084844
</Node>
47094845
</Patch>
47104846
<PlatformDependency Id="JH6DpUPdYO5OeNwhbnZHfV" Location="./lib/net8.0/VL.Devices.Ultraleap.dll" />
4711-
<NugetDependency Id="CJViQF51oJqQENZ57bmaYX" Location="VL.Stride" Version="2024.6.6" />
4847+
<NugetDependency Id="CJViQF51oJqQENZ57bmaYX" Location="VL.Stride" Version="2024.6.7-0228-gd4263f9987" />
47124848
</Document>

0 commit comments

Comments
 (0)