Component:VibrationDeviceRelay: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Vibration Device Relay
|Name=Vibration Device Relay
}}
}}
{{stub}}
The '''VibrationDeviceRelay''' component recieves haptics events and relays them to other vibration recievers.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TargetComponent|IVibrationDeviceComponent|
|TargetComponent|IVibrationDeviceComponent| The component to relay the vibration event to.
|DynamicLookupTarget|Slot|
|DynamicLookupTarget|Slot| The slot to look for components in to send the vibration event to.
}}
}}


== Behavior ==
== Usage ==
Attach to a slot like the hands or other slots that can recieve haptics, then specify a target or component that the vibrations should be relayed to.


== Examples ==
== Examples ==
Could be used for a user haptics share system.


== See Also ==
== See Also ==
* [[Haptics]]


[[Category:Components:Uncategorized{{#translation:}}|Vibration Device Relay]]
[[Category:Components:Uncategorized{{#translation:}}|Vibration Device Relay]]
[[Category:Components{{#translation:}}|Vibration Device Relay]]
[[Category:Components{{#translation:}}|Vibration Device Relay]]
[[Category:ComponentStubs]]

Latest revision as of 01:05, 4 May 2025

Component image 
Vibration Device Relay component as seen in the Scene Inspector

The VibrationDeviceRelay component recieves haptics events and relays them to other vibration recievers.

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.
TargetComponent IVibrationDeviceComponent The component to relay the vibration event to.
DynamicLookupTarget Slot The slot to look for components in to send the vibration event to.

Usage

Attach to a slot like the hands or other slots that can recieve haptics, then specify a target or component that the vibrations should be relayed to.

Examples

Could be used for a user haptics share system.

See Also