diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-03-05 21:09:21 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-03-10 17:14:56 +1100 |
commit | d11cb5fe981f96cc1cf4d30c48913e1b3686089e (patch) | |
tree | ccc5c85c8deb09e97e73875cd69f483d7dc0bc38 /doc/classes/XRPositionalTracker.xml | |
parent | 450ebaab9f333ca463e6e57a29fdc2e47c227c36 (diff) |
Adding signals and events to OpenXR interface
Improving interaction profile logic
Diffstat (limited to 'doc/classes/XRPositionalTracker.xml')
-rw-r--r-- | doc/classes/XRPositionalTracker.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/classes/XRPositionalTracker.xml b/doc/classes/XRPositionalTracker.xml index da378759d8..d15558c9e8 100644 --- a/doc/classes/XRPositionalTracker.xml +++ b/doc/classes/XRPositionalTracker.xml @@ -72,6 +72,9 @@ - [code]left_hand[/code] identifies the controller held in the players left hand - [code]right_hand[/code] identifies the controller held in the players right hand </member> + <member name="profile" type="String" setter="set_tracker_profile" getter="get_tracker_profile" default=""""> + The profile associated with this tracker, interface dependent but will indicate the type of controller being tracked. + </member> <member name="type" type="int" setter="set_tracker_type" getter="get_tracker_type" enum="XRServer.TrackerType" default="128"> The type of tracker. </member> @@ -109,6 +112,12 @@ Emitted when the state of a pose tracked by this tracker changes. </description> </signal> + <signal name="profile_changed"> + <argument index="0" name="role" type="String" /> + <description> + Emitted when the profile of our tracker changes. + </description> + </signal> </signals> <constants> <constant name="TRACKER_HAND_UNKNOWN" value="0" enum="TrackerHand"> |