Component:InteractionHandlerStreamDriver: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
Style. This is no longer a stub. Added a description, added field descriptions, added usage description.
 
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=InteractionHandlerStreamDriverComponent.png
|Image=InteractionHandlerStreamDriverComponent.png
Line 9: Line 8:


<!--T:2-->
<!--T:2-->
== Intoduction ==
The '''InteractionHandlerStreamDriver''' component uses streaming data from the [[Component:ValueStream|ValueStream]] component (seen in the [[user Inspector]]) to control the interaction (such as [[Component:Laser|lasers]]) on a [[User|user's]] [[Avatar|avatar]] or [[Userspace]].


<!--T:3-->
<!--T:3-->
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Side|Chirality|
|Side|Chirality| The side to get the data.
|PrimaryBlockedStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv1=true|
|PrimaryBlockedStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv1=true| The value interaction data currently being blocked. (Primary)
|SecondaryBlockedStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv2=true|
|SecondaryBlockedStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv2=true| The value interaction data currently being blocked. (Secondary)
|LaserActiveStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv3=true|
|LaserActiveStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv3=true| The streamed data for this interaction.
|ShowLaserToOthersStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv4=true|
|ShowLaserToOthersStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Bool|Bool]]&gt;'''|TypeAdv4=true| Shows the laser data for the other stream.
|LaserTargetStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float3|Float3]]&gt;'''|TypeAdv5=true|
|LaserTargetStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float3|Float3]]&gt;'''|TypeAdv5=true| Shows the value for the target of this interaction.
|GrabDistanceStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv6=true|
|GrabDistanceStream|'''[[Type:ValueStream`1|ValueStream`1]]&lt;[[Type:Float|Float]]&gt;'''|TypeAdv6=true| Shows the data of the distance of this interaction.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Usage ==
Used for [[Component:Laser|lasers]] and interactions.


<!--T:5-->
<!--T:5-->
Line 33: Line 32:
</translate>
</translate>
[[Category:Components{{#translation:}}|Interaction Handler Stream Driver]]
[[Category:Components{{#translation:}}|Interaction Handler Stream Driver]]
[[Category:ComponentStubs]]
[[Category:Components:Users{{#translation:}}|Interaction Handler Stream Driver]]
[[Category:Components:Users{{#translation:}}|Interaction Handler Stream Driver]]

Latest revision as of 08:09, 6 October 2024

Component image 
InteractionHandlerStreamDriver component as seen in the Scene Inspector


The InteractionHandlerStreamDriver component uses streaming data from the ValueStream component (seen in the user Inspector) to control the interaction (such as lasers) on a user's avatar or Userspace.

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.
Side Chirality The side to get the data.
PrimaryBlockedStream ValueStream`1<Bool> The value interaction data currently being blocked. (Primary)
SecondaryBlockedStream ValueStream`1<Bool> The value interaction data currently being blocked. (Secondary)
LaserActiveStream ValueStream`1<Bool> The streamed data for this interaction.
ShowLaserToOthersStream ValueStream`1<Bool> Shows the laser data for the other stream.
LaserTargetStream ValueStream`1<Float3> Shows the value for the target of this interaction.
GrabDistanceStream ValueStream`1<Float> Shows the data of the distance of this interaction.

Usage

Used for lasers and interactions.

Examples

Related Components