Class HapticControl
Input System control that wraps up a Haptic structure.
Inherited Members
InputControl<Haptic>.valueType
InputControl<Haptic>.valueSizeInBytes
InputControl<Haptic>.value
InputControl<Haptic>.ReadValue()
InputControl<Haptic>.ReadValueFromPreviousFrame()
InputControl<Haptic>.ReadDefaultValue()
InputControl<Haptic>.ReadUnprocessedValue()
InputControl<Haptic>.ProcessValue(Haptic)
InputControl<Haptic>.ProcessValue(ref Haptic)
InputControl<Haptic>.FinishSetup()
InputControl.name
InputControl.displayName
InputControl.shortDisplayName
InputControl.path
InputControl.layout
InputControl.variants
InputControl.device
InputControl.parent
InputControl.children
InputControl.usages
InputControl.aliases
InputControl.stateBlock
InputControl.noisy
InputControl.synthetic
InputControl.magnitude
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.m_StateBlock
InputControl.currentStatePtr
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
InputControl.noiseMaskPtr
InputControl.stateOffsetRelativeToDeviceRoot
InputControl.optimizedControlDataType
InputControl.CalculateOptimizedControlDataType()
InputControl.ApplyParameterChanges()
Namespace: UnityEngine.XR.OpenXR.Input
Assembly: Unity.XR.OpenXR.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 |