AxisCalibrationData Structure |
Namespace: Rewired
public struct AxisCalibrationData
The AxisCalibrationData type exposes the following members.
Name | Description | |
---|---|---|
AxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean) | Initializes a new instance of the AxisCalibrationData class | |
AxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean, Single) | Initializes a new instance of the AxisCalibrationData class | |
AxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean, AxisSensitivityType, Single, AnimationCurve) | Initializes a new instance of the AxisCalibrationData class |
Name | Description | |
---|---|---|
applyRangeCalibration |
If enabled, min, max, and zero will be used to convert the value to a new range.
If disabled, min, max, and zero will have no effect on the final value.
| |
deadZone |
If the Axis's absolute value is less than or equal to the dead zone, it will return 0.
| |
enabled |
Enables or disables the Axis. A disabled Axis always returns a value of 0.
| |
invert |
If true, the final value will be multiplied by -1. This can be used to correct an inverted Axis.
| |
max |
The maximum value. This can be used to transform the value to a new range.
| |
min |
The minimum value. This can be used to transform the value to a new range.
| |
sensitivity |
The sensitivity value.
| |
sensitivityCurve |
The sensitivity curve. The curve has no effect unless sensitivityType is set to Curve.
| |
sensitivityType |
Determines how sensitivity will be calculated.
If sensitivityType is set to Multiplier or Power, the sensitivity property is used to calculate the value.
If sensitivityType is set to Curve, the sensitivityCurve property is used to calculate the value.
| |
zero |
The zero value. This can be used to correct a non-zero resting state.
|