Component:HapticPointSampler

From Resonite Wiki
Component image 
Haptic Point Sampler component as seen in the Scene Inspector

The HapticPointSampler component acts as the receiver of haptics events and the in game world point for a haptics device recognized by the Resonite Haptics system.

This works as part of the game's robust Haptics system.

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.
Radius Float How big the haptics sampling radius is.
ShowDebugVisual Bool Whether to show the debug visual.
_debugVisual direct SlotCleanupRef`1<OverlayFresnelMaterial> The visual for the debug.
SamplingUser direct UserRef The user this belongs to.
HapticPointIndex Int The haptics device by index on SamplingUser's input interface to send haptics sampled from this device to.

Usage

Automatically generated by the game. If you need one for an arbitrary device or to send via web socket or OSC, see Virtual Haptic Point Sampler component.

Examples

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


See Also