Component:AvatarEyeDataSourceAssigner: Difference between revisions

From Resonite Wiki
fix header
correct again
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
|Name=Avatar Eye Data Source Assigner
|Name=Avatar Eye Data Source Assigner
}}
}}
The '''AvatarEyeDataSourceAssigner''' component manages assigning eye tracking sources to fields.
The '''AvatarEyeDataSourceAssigner''' component manages assigning eye tracking sources to fields


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]&lt;[[Type:IEyeDataSourceComponent|IEyeDataSourceComponent]]&gt;'''|TypeAdv0=true| The field to assign an eye tracking source to.
|TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]&lt;[[Type:IEyeDataSourceComponent|IEyeDataSourceComponent]]&gt;'''|TypeAdv0=true| The field to assign an eye tracking source to, unless it finds a [[Component:AvatarEyeTrackingInfo]] first, it assigns from that instead of the user's one.
}}
}}



Latest revision as of 21:06, 19 December 2024

Component image 
Avatar Eye Data Source Assigner component as seen in the Scene Inspector

The AvatarEyeDataSourceAssigner component manages assigning eye tracking sources to fields

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.
TargetReference SyncRef`1<IEyeDataSourceComponent> The field to assign an eye tracking source to, unless it finds a Component:AvatarEyeTrackingInfo first, it assigns from that instead of the user's one.

Usage

is used to assign the eye tracker for an avatar to a field when a user with eye tracking equips the avatar.

Examples

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


See Also