-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial rayclick imp * Example code bug * Move scene pointer logic to diff file, add pointer on/off logic * Updated names + example * Remove pointer listener if removed all callbacks * Formatting changes * Tweaks * Docs + backwards compatibility * Update cursor for scene clicks * Add events.md --------- Co-authored-by: Brent Yi <[email protected]>
- Loading branch information
1 parent
a6c5542
commit b41eb17
Showing
14 changed files
with
288 additions
and
31 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Events | ||
|
||
We define a small set of event types, which are passed to callback functions | ||
when events like clicks or GUI updates are triggered. | ||
|
||
<!-- prettier-ignore-start --> | ||
|
||
.. autoapiclass:: viser.ScenePointerEvent | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
|
||
.. autoapiclass:: viser.SceneNodePointerEvent | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
|
||
.. autoapiclass:: viser.GuiEvent | ||
:members: | ||
:undoc-members: | ||
:inherited-members: | ||
|
||
<!-- prettier-ignore-end --> |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.