Component:EyeTrackingStreamManager: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page EyeTrackingStreamManager (Component) to Component:EyeTrackingStreamManager: Creating component Namespace
Automated: update Fields
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=EyeTrackingStreamManagerComponent.png
|Image=EyeTrackingStreamManagerComponent.png
Line 9: Line 8:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''EyeTrackingStreamManager''' component uses streaming data from the [[Type:ValueStream`1|ValueStream]] data type (seen in the [[user Inspector]]) to control the left and right eyes on a [[User|user's]] [[Avatar|avatar]].


<!--T:3-->
<!--T:3-->
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|User|User|  
|User|User| The focused user to get streaming data from.
|ConvergenceDistance|ValueStream`1|TypeString1=ValueStream<Float>|  
|ConvergenceDistance|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv1=true| The eye distance data from the headset.
|IsTracking|ValueStream`1|TypeString0=ValueStream<Bool>|  
|IsEyeTrackingActive|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv2=true| Returns true if the eyes are being tracked from the headset.
|Position|ValueStream`1|TypeString1=ValueStream<Float3>|  
|LeftEyeStreams|{{RootFieldType|(nested)|[[#EyeStreams|EyeTrackingStreamManager.EyeStreams]]}}|TypeAdv3=true| A set of fields for the left eye.
|Direction|ValueStream`1|TypeString2=ValueStream<Float3>|  
|RightEyeStreams|{{RootFieldType|(nested)|[[#EyeStreams|EyeTrackingStreamManager.EyeStreams]]}}|TypeAdv4=true| A set of fields for the right eye.
|Openness|ValueStream`1|TypeString3=ValueStream<Float>|  
}}
|Widen|ValueStream`1|TypeString4=ValueStream<Float>|  
 
|PupilDiameter|ValueStream`1|TypeString5=ValueStream<Float>|  
== EyeStreams ==
|IsTracking|ValueStream`1|TypeString0=ValueStream<Bool>|
{{Table TypeFields
|Position|ValueStream`1|TypeString1=ValueStream<Float3>|  
|IsTracking|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv0=true|Returns if this eye is tracking.
|Direction|ValueStream`1|TypeString2=ValueStream<Float3>|
|Position|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float3|Float3]]&gt;'''|TypeAdv1=true|Returns the position of the eye.
|Openness|ValueStream`1|TypeString3=ValueStream<Float>|  
|Direction|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float3|Float3]]&gt;'''|TypeAdv2=true|Returns where the eye is looking.
|Widen|ValueStream`1|TypeString4=ValueStream<Float>|  
|Openness|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv3=true| Returns how open the eye is.
|PupilDiameter|ValueStream`1|TypeString5=ValueStream<Float>|  
|Widen|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv4=true| Returns how wide the eye is.
|Squeeze|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv5=true| Returns how squeezed the eye is.
|Frown|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv6=true| Returns if the eye is frowning.
|InnerBrowVertical|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv7=true| Returns the inner brow data.
|OuterBrowVertical|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv8=true| Returns the outer brow data.
|PupilDiameter|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv9=true| Returns the pupil diameter.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Used for [[Eye Tracking]].


<!--T:5-->
<!--T:5-->
Line 37: Line 42:


<!--T:6-->
<!--T:6-->
== Related Components ==
== See Also ==
* [[Component:EyeLinearDriver]]
</translate>
</translate>
[[Category:Components{{#translation:}}|EyeTrackingStreamManager (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Eye Tracking Stream Manager]]
[[Category:ComponentStubs]]
[[Category:Components With Nested Types{{#translation:}}|Eye Tracking Stream Manager]]
[[Category:Components:Users{{#translation:}}|EyeTrackingStreamManager (Component){{#translation:}}]]
[[Category:Components:Users{{#translation:}}|Eye Tracking Stream Manager]]

Latest revision as of 06:01, 17 March 2025

Component image 
EyeTrackingStreamManager component as seen in the Scene Inspector

The EyeTrackingStreamManager component uses streaming data from the ValueStream data type (seen in the user Inspector) to control the left and right eyes on a user's avatar.

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. Some components stop their functionality when this field is disabled, but some don't.
User User The focused user to get streaming data from.
ConvergenceDistance ValueStream`1<Float> The eye distance data from the headset.
IsEyeTrackingActive ValueStream`1<Bool> Returns true if the eyes are being tracked from the headset.
LeftEyeStreams direct EyeTrackingStreamManager.EyeStreams A set of fields for the left eye.
RightEyeStreams direct EyeTrackingStreamManager.EyeStreams A set of fields for the right eye.

EyeStreams

Fields
Name Type Description
IsTracking ValueStream`1<Bool> Returns if this eye is tracking.
Position ValueStream`1<Float3> Returns the position of the eye.
Direction ValueStream`1<Float3> Returns where the eye is looking.
Openness ValueStream`1<Float> Returns how open the eye is.
Widen ValueStream`1<Float> Returns how wide the eye is.
Squeeze ValueStream`1<Float> Returns how squeezed the eye is.
Frown ValueStream`1<Float> Returns if the eye is frowning.
InnerBrowVertical ValueStream`1<Float> Returns the inner brow data.
OuterBrowVertical ValueStream`1<Float> Returns the outer brow data.
PupilDiameter ValueStream`1<Float> Returns the pupil diameter.

Usage

Used for Eye Tracking.

Examples

See Also