Class HapticControl
Input System control that wraps up a Haptic structure.
Inherited Members
InputControl<Haptic>.ReadValue()
InputControl<Haptic>.ReadValueFromPreviousFrame()
InputControl<Haptic>.ReadUnprocessedValue()
InputControl<Haptic>.valueType
InputControl<Haptic>.valueSizeInBytes
InputControl<Haptic>.value
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.CalculateOptimizedControlDataType()
InputControl.ApplyParameterChanges()
InputControl.displayName
InputControl.shortDisplayName
InputControl.variants
InputControl.device
InputControl.children
InputControl.usages
InputControl.aliases
InputControl.stateBlock
InputControl.synthetic
InputControl.currentStatePtr
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
InputControl.stateOffsetRelativeToDeviceRoot
Namespace: UnityEngine.XR.OpenXR.Input
Assembly: solution.dll
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 |