Component:TrackerSettings: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 4: Line 4:
}}
}}
{{stub}}
{{stub}}
See [[Settings#Tracker Settings|Settings/Tracker Settings]]


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|UseTrackers|Bool|
|UseTrackers|Bool| If all body trackers should be enabled.
|Trackers|{{RootFieldType|SyncList`1|[[#Tracker|Tracker]]}}|TypeAdv1=true|
|Trackers|{{RootFieldType|SyncList`1|[[#Tracker|Tracker]]}}|TypeAdv1=true| View all names, assignments, ids, and statuses for previously used trackers.
}}
 
== Tracker ==
{{Table TypeFields
|UseTracker|Bool| Whether to use the tracker right now.
|FreezeTracking|Bool| Freeze the tracking into it's last reported position
|IsConnected|Bool| Whether this tracker is connected to the game or not, usually means it's not connected to steamvr if this is false.
|CustomName|string| A custom name set by the user to identify the tracker.
|MappedBodyNode|BodyNode| The node which this tracker should be used to track.
|MappedPosition|Float3| The offset position for mapping to the body
|MappedRotation|FloatQ| The offset rotation  for mapping to the body
|UseInVR|Bool| Whether to use this tracker while the user is in VR mode.
|UseInDesktop|Bool| Whether to use this tracker while the user is in desktop mode.
|TrackerID|string| The ID of the tracker, usually designated by the manufacturer of the tracker.
|TrackerBattery|Float| How much battery the tracker has left.
|TrackerIsCharging|Bool| Whether the tracker is currently charging.
}}
}}


Line 20: Line 37:
[[Category:Components{{#translation:}}|Tracker Settings]]
[[Category:Components{{#translation:}}|Tracker Settings]]
[[Category:Components With Nested Types{{#translation:}}|Tracker Settings]]
[[Category:Components With Nested Types{{#translation:}}|Tracker Settings]]
[[Category:ComponentStubs]]

Revision as of 15:17, 19 October 2024

Component image 
Tracker Settings component as seen in the Scene Inspector


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Settings/Tracker Settings

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
UseTrackers Bool If all body trackers should be enabled.
Trackers list of Tracker View all names, assignments, ids, and statuses for previously used trackers.

Tracker

Fields
Name Type Description
UseTracker Bool Whether to use the tracker right now.
FreezeTracking Bool Freeze the tracking into it's last reported position
IsConnected Bool Whether this tracker is connected to the game or not, usually means it's not connected to steamvr if this is false.
CustomName string A custom name set by the user to identify the tracker.
MappedBodyNode BodyNode The node which this tracker should be used to track.
MappedPosition Float3 The offset position for mapping to the body
MappedRotation FloatQ The offset rotation for mapping to the body
UseInVR Bool Whether to use this tracker while the user is in VR mode.
UseInDesktop Bool Whether to use this tracker while the user is in desktop mode.
TrackerID string The ID of the tracker, usually designated by the manufacturer of the tracker.
TrackerBattery Float How much battery the tracker has left.
TrackerIsCharging Bool Whether the tracker is currently charging.


Behavior

Examples

See Also