Component:TrackerSettings: Difference between revisions

From Resonite Wiki
add info
Automated: update Categories, SyncDelegates
Line 10: Line 10:
|UseTrackers|Bool| If all body trackers should be enabled.  
|UseTrackers|Bool| If all body trackers should be enabled.  
|Trackers|{{RootFieldType|SyncList`1|[[#Tracker|Tracker]]}}|TypeAdv1=true| View all names, assignments, ids, and statuses for previously used trackers.  
|Trackers|{{RootFieldType|SyncList`1|[[#Tracker|Tracker]]}}|TypeAdv1=true| View all names, assignments, ids, and statuses for previously used trackers.  
}}
== Sync Delegates ==
{{Table ComponentTriggers
|GetTrackerForSubsetting()|[[Type:SubsettingGetter|SubsettingGetter]]<[[Type:String|String]]: key>|
}}
}}


Line 36: Line 41:
[[Category:Components:Uncategorized{{#translation:}}|Tracker Settings]]
[[Category:Components:Uncategorized{{#translation:}}|Tracker Settings]]
[[Category:Components{{#translation:}}|Tracker Settings]]
[[Category:Components{{#translation:}}|Tracker Settings]]
[[Category:ComponentStub]]
[[Category:Components With Nested Types{{#translation:}}|Tracker Settings]]
[[Category:Components With Nested Types{{#translation:}}|Tracker Settings]]

Revision as of 13:12, 6 November 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.

Sync Delegates

Triggers
Name Arguments Description
GetTrackerForSubsetting() SubsettingGetter<String: key>

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