-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
409c262
commit aa129ce
Showing
4 changed files
with
83 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ This can be imported as a git package in Unity. The package is built to use [Uni | |
|
||
## Scene setup | ||
- Setup the Scene with an XR Origin & XR Interaction Manager (see documentation [XRI documentation for more details](https://docs.unity3d.com/Packages/[email protected]/manual/general-setup.html#create-the-xr-origin-camera-rig-for-tracked-devices)). | ||
- Setup the `HPUIInteractor` | ||
- For each hand, add `hpuiinteractorright` and `HPUIInteractorLeft` prefabs to the scene. | ||
- Setup an HPUI Interactable. (TODO) | ||
- HPUIInteractor is an extention of `XRPokeInteractor`. You would be able to use `XRPokeFilter` on any of the HPUI Interactables. Note that, with the `HPUIContinuousInteractable`, the associated `XRPokeFilter` needs to be enabled after the surface is created. By default, once the surface is created, it will enable any XRPokeFilter component on the same GameObject, right before `continuousSurfaceCreatedEvent` is invoked. | ||
- Place atleast one HPUIInteractor component. You may use the `HPUIInteractable` prefab that is provided with the package. | ||
- Create intractables with the HPUI Interactables components added to them (i.e., `HPUIBaseInteractable` & `HPUIContinuousInteractable`). | ||
- Add and configure the `JointFollower` component to all gameobjects with HPUI Interactables or HPUI Interactor. This component makes sure the game objects location is set to the respective joint(s) of a given hand. The Interactor and Interactables don't depend on these, but they play nice with each other - i.e., the HPUI Interactables and HPUI Interactors will respect the configuration (Handedness) of the JointFollower. | ||
|
||
Note that, the HPUI interactor/interactables do not have to be under the `XROrigin` even though the data from the XRHands subsystem is relative to the `XROrigin`. `JointFollower` transforms the location so that its not necessay for the components to be under the `XROrigin`. | ||
|
||
## Interactables | ||
TODO | ||
|
Submodule doxygen-awesome-css
updated
11 files
+177 −68 | Doxyfile | |
+5 −3 | README.md | |
+2 −0 | docs/customization.md | |
+7 −2 | docs/extensions.md | |
+14 −4 | doxygen-awesome-interactive-toc.js | |
+3 −3 | doxygen-awesome-tabs.js | |
+22 −14 | doxygen-awesome.css | |
+2 −2 | img/theme-variants-base.drawio.svg | |
+2 −2 | img/theme-variants-sidebar-only.drawio.svg | |
+14 −0 | package-lock.json | |
+1 −1 | package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<!-- HTML header for doxygen 1.9.6--> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" lang="$langISO"> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
<meta http-equiv="X-UA-Compatible" content="IE=11"/> | ||
<meta name="generator" content="Doxygen $doxygenversion"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"/> | ||
<!--BEGIN PROJECT_NAME--><title>$projectname: $title</title><!--END PROJECT_NAME--> | ||
<!--BEGIN !PROJECT_NAME--><title>$title</title><!--END !PROJECT_NAME--> | ||
<link href="$relpath^tabs.css" rel="stylesheet" type="text/css"/> | ||
<!--BEGIN DISABLE_INDEX--> | ||
<!--BEGIN FULL_SIDEBAR--> | ||
<script type="text/javascript">var page_layout=1;</script> | ||
<!--END FULL_SIDEBAR--> | ||
<!--END DISABLE_INDEX--> | ||
<script type="text/javascript" src="$relpath^jquery.js"></script> | ||
<script type="text/javascript" src="$relpath^dynsections.js"></script> | ||
$treeview | ||
$search | ||
$mathjax | ||
$darkmode | ||
<link href="$relpath^$stylesheet" rel="stylesheet" type="text/css" /> | ||
$extrastylesheet | ||
</head> | ||
<body> | ||
<!--BEGIN DISABLE_INDEX--> | ||
<!--BEGIN FULL_SIDEBAR--> | ||
<div id="side-nav" class="ui-resizable side-nav-resizable"><!-- do not remove this div, it is closed by doxygen! --> | ||
<!--END FULL_SIDEBAR--> | ||
<!--END DISABLE_INDEX--> | ||
|
||
<a href="https://github.com/ovi-lab/HPUI-Core" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:--page-background-color; color:--page-foreground-color; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> | ||
|
||
<div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
|
||
<!--BEGIN TITLEAREA--> | ||
<div id="titlearea"> | ||
<table cellspacing="0" cellpadding="0"> | ||
<tbody> | ||
<tr id="projectrow"> | ||
<!--BEGIN PROJECT_LOGO--> | ||
<td id="projectlogo"><img alt="Logo" src="$relpath^$projectlogo"/></td> | ||
<!--END PROJECT_LOGO--> | ||
<!--BEGIN PROJECT_NAME--> | ||
<td id="projectalign"> | ||
<div id="projectname">$projectname<!--BEGIN PROJECT_NUMBER--><span id="projectnumber"> $projectnumber</span><!--END PROJECT_NUMBER--> | ||
</div> | ||
<!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF--> | ||
</td> | ||
<!--END PROJECT_NAME--> | ||
<!--BEGIN !PROJECT_NAME--> | ||
<!--BEGIN PROJECT_BRIEF--> | ||
<td> | ||
<div id="projectbrief">$projectbrief</div> | ||
</td> | ||
<!--END PROJECT_BRIEF--> | ||
<!--END !PROJECT_NAME--> | ||
<!--BEGIN DISABLE_INDEX--> | ||
<!--BEGIN SEARCHENGINE--> | ||
<!--BEGIN !FULL_SIDEBAR--> | ||
<td>$searchbox</td> | ||
<!--END !FULL_SIDEBAR--> | ||
<!--END SEARCHENGINE--> | ||
<!--END DISABLE_INDEX--> | ||
</tr> | ||
<!--BEGIN SEARCHENGINE--> | ||
<!--BEGIN FULL_SIDEBAR--> | ||
<tr><td colspan="2">$searchbox</td></tr> | ||
<!--END FULL_SIDEBAR--> | ||
<!--END SEARCHENGINE--> | ||
</tbody> | ||
</table> | ||
</div> | ||
<!--END TITLEAREA--> | ||
<!-- end header part --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters