Component:AvatarEyeDataSourceAssigner: Difference between revisions

From Resonite Wiki
fix info
correct again
 
Line 11: Line 11:
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]<[[Type:IEyeDataSourceComponent|IEyeDataSourceComponent]]>'''|TypeAdv0=true| The field to assign an eye tracking source to, unless it finds a [[Component:AvatarEyeTrackingInfo]] first, it assigns to that instead.
|TargetReference|'''[[Type:SyncRef`1|SyncRef`1]]<[[Type:IEyeDataSourceComponent|IEyeDataSourceComponent]]>'''|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