Automated: create new component page |
Automated: update Replace |
||
(2 intermediate revisions by the same user not shown) | |||
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. | ||
}} | |||
== Sync Delegates == | |||
{{Table ComponentTriggers | |||
|GetTrackerForSubsetting()|[[Type:SubsettingGetter|SubsettingGetter]]<[[Type:String|String]]: key>| | |||
}} | |||
== 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 19: | 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:ComponentStubs]] | |||
[[Category:Components With Nested Types{{#translation:}}|Tracker Settings]] | [[Category:Components With Nested Types{{#translation:}}|Tracker Settings]] | ||
Latest revision as of 21:06, 6 November 2024
Component image
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Usage
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
Method Name | Method type and Arguments. | Description |
---|---|---|
GetTrackerForSubsetting()
|
SubsettingGetter<String: key> |
Tracker
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. |