Class HapticControl
Input System control that wraps up a Haptic structure.
Inherited Members
Namespace: UnityEngine.XR.OpenXR.Input
Syntax
[Preserve]
public class HapticControl : InputControl<Haptic>
Constructors
HapticControl()
Default Constructor required by the Input System for instantiation.
Declaration
public HapticControl()
Methods
ReadUnprocessedValueFromState(Void*)
Returns an empty haptic structure since haptics are an output and have no data
Declaration
public override Haptic ReadUnprocessedValueFromState(void *statePtr)
Parameters
Type | Name | Description |
---|---|---|
Void* | statePtr | Raw state data to read from |
Returns
Type | Description |
---|---|
Haptic | Empty haptic structure |
Overrides
UnityEngine.InputSystem.InputControl<UnityEngine.XR.OpenXR.Input.Haptic>.ReadUnprocessedValueFromState(System.Void*)