Component:RelayTouchSource: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Relay Touch Source
|Name=Relay Touch Source
}}
}}
{{stub}}
The '''RelayTouchSource''' component is used to handle the interactions of tip touch sources on the user.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|AutoUpdateUser|User|
|AutoUpdateUser|User| The user handling updates for thus component
|OutOfSightAngle|Float|
|OutOfSightAngle|Float| Buttons outside this angle from the user's center view are considered out of sight.
|MaxTouchPenetrationDistance|Float|
|MaxTouchPenetrationDistance|Float| The max distance of penetration into an item like a physical button before it's not considered pressed anymore.
|TipPositionGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:Float3|Float3]]>}}|TypeAdv3=true|
|TipPositionGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:Float3|Float3]]>}}|TypeAdv3=true| Refers to a [[Component:InteractionLaser|InteractionLaser]]'s sync delegate of the same name.
|TipDirectionGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:Float3|Float3]]>}}|TypeAdv4=true|
|TipDirectionGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:Float3|Float3]]>}}|TypeAdv4=true| Refers to a [[Component:InteractionLaser|InteractionLaser]]'s sync delegate of the same name.
|TouchTypeGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:TouchType|TouchType]]>}}|TypeAdv5=true|
|TouchTypeGetter|{{RootFieldType|SyncDelegate`1|[[Type:Func`2|Func`2]]<[[Component:RelayTouchSource|RelayTouchSource]], [[Type:TouchType|TouchType]]>}}|TypeAdv5=true| Refers to a [[Component:InteractionLaser|InteractionLaser]]'s sync delegate of the same name.
|TouchableGetter|{{RootFieldType|SyncDelegate`1|[[Type:TouchableGetter|TouchableGetter]]}}|TypeAdv6=true|
|TouchableGetter|{{RootFieldType|SyncDelegate`1|[[Type:TouchableGetter|TouchableGetter]]}}|TypeAdv6=true| Refers to a [[Component:InteractionLaser|InteractionLaser]]'s sync delegate of the same name.
}}
}}


== Behavior ==
== Usage ==
Not usually used by the user. However, a [[Component:TipTouchSource|TipTouchSource]] component is.


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 24: Line 26:
[[Category:Components:Uncategorized{{#translation:}}|Relay Touch Source]]
[[Category:Components:Uncategorized{{#translation:}}|Relay Touch Source]]
[[Category:Components{{#translation:}}|Relay Touch Source]]
[[Category:Components{{#translation:}}|Relay Touch Source]]
[[Category:ComponentStubs]]

Latest revision as of 20:38, 5 April 2025

Component image 
Relay Touch Source component as seen in the Scene Inspector

The RelayTouchSource component is used to handle the interactions of tip touch sources on the user.

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.
AutoUpdateUser User The user handling updates for thus component
OutOfSightAngle Float Buttons outside this angle from the user's center view are considered out of sight.
MaxTouchPenetrationDistance Float The max distance of penetration into an item like a physical button before it's not considered pressed anymore.
TipPositionGetter delegate of identity Func`2<RelayTouchSource, Float3> Refers to a InteractionLaser's sync delegate of the same name.
TipDirectionGetter delegate of identity Func`2<RelayTouchSource, Float3> Refers to a InteractionLaser's sync delegate of the same name.
TouchTypeGetter delegate of identity Func`2<RelayTouchSource, TouchType> Refers to a InteractionLaser's sync delegate of the same name.
TouchableGetter delegate of identity TouchableGetter Refers to a InteractionLaser's sync delegate of the same name.

Usage

Not usually used by the user. However, a TipTouchSource component is.

Examples

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

See Also