Component:AvatarRawEyeData: Difference between revisions

From Resonite Wiki
Add missing section
add info
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=AvatarRawEyeDataComponent.png
|Image=AvatarRawEyeDataComponent.png
|Name=AvatarRawEyeData
|Name=Avatar Raw Eye Data
}}
}}
 
The '''AvatarRawEyeData''' component provides the eye tracking data on a particular User. This component links to a user upon being part of an Avatar that a user equips.
<!--T:2-->
== Intoduction ==


<!--T:3-->
<!--T:3-->
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|LeftEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv0=true|
|LeftEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv0=true| Data about the left eye from the user's eye tracking device
|RightEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv1=true|
|RightEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv1=true| Data about the right eye from the user's eye tracking device
|CombinedEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv2=true|
|CombinedEye|{{RootFieldType|(nested)|[[#EyeData|EyeData]]}}|TypeAdv2=true| Data about combined eye Data from the user's tracking device
|ConvergenceDistance|Float|
|ConvergenceDistance|Float| The User's eye tracking convergence distance data
|Timestamp|Double|
|Timestamp|Double| The timestamp value gotten directly from the eye tracking device.
|_activeUser|User|
|_activeUser|User| The user that the component is reading eye tracking data from.
}}
}}


== EyeData ==
== EyeData ==
{{Table TypeFields
{{Table TypeFields
|IsTracking|bool| Whether the device is tracking this eye.
|Origin|Float3|
|Direction|Float3| the direction the eye is looking
|PupilDiameter|float| The diameter of the eyes in mm
|Openness|float| Whether the eyes are open or closed.
|Widen|float| how wide the eyes are in surprise
|Squeeze|float| how much the eyes are squinting
|Frown|float| how much the eyes are affected by the face stretching into a frown
|InnerBrowVertical|float| The vertical movement of the inner edge of the eyebrow
|OuterBrowVertical|float| The vertical movement of the outer edge of the eyebrow
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
{{stub}}


<!--T:5-->
<!--T:5-->
Line 33: Line 41:


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
</translate>
</translate>
[[Category:Components{{#translation:}}|Avatar Raw Eye Data]]
[[Category:Components{{#translation:}}|Avatar Raw Eye Data]]
[[Category:ComponentStubs]]
[[Category:Components With Nested Types{{#translation:}}|Avatar Raw Eye Data]]
[[Category:Components With Nested Types{{#translation:}}|Avatar Raw Eye Data]]
[[Category:Components:Users:Common Avatar System:Face{{#translation:}}|Avatar Raw Eye Data]]
[[Category:Components:Users:Common Avatar System:Face{{#translation:}}|Avatar Raw Eye Data]]

Latest revision as of 22:47, 31 December 2024

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

The AvatarRawEyeData component provides the eye tracking data on a particular User. This component links to a user upon being part of an Avatar that a user equips.

Fields

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.
LeftEye direct EyeData Data about the left eye from the user's eye tracking device
RightEye direct EyeData Data about the right eye from the user's eye tracking device
CombinedEye direct EyeData Data about combined eye Data from the user's tracking device
ConvergenceDistance Float The User's eye tracking convergence distance data
Timestamp Double The timestamp value gotten directly from the eye tracking device.
_activeUser User The user that the component is reading eye tracking data from.

EyeData

Fields
Name Type Description
IsTracking bool Whether the device is tracking this eye.
Origin Float3
Direction Float3 the direction the eye is looking
PupilDiameter float The diameter of the eyes in mm
Openness float Whether the eyes are open or closed.
Widen float how wide the eyes are in surprise
Squeeze float how much the eyes are squinting
Frown float how much the eyes are affected by the face stretching into a frown
InnerBrowVertical float The vertical movement of the inner edge of the eyebrow
OuterBrowVertical float The vertical movement of the outer edge of the eyebrow

Usage

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


Examples

See Also