Click or drag to resize

AxisCalibrationData Structure

A struct for working with axis calibration data.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public struct AxisCalibrationData

The AxisCalibrationData type exposes the following members.

Constructors
  NameDescription
Public methodAxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean)
Initializes a new instance of the AxisCalibrationData class
Public methodAxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean, Single)
Initializes a new instance of the AxisCalibrationData class
Public methodAxisCalibrationData(Boolean, Single, Single, Single, Single, Boolean, Boolean, AxisSensitivityType, Single, AnimationCurve)
Initializes a new instance of the AxisCalibrationData class
Top
Properties
  NameDescription
Public propertyStatic memberDefault
Creates a default AxisCalibrationData.
Top
Fields
  NameDescription
Public fieldapplyRangeCalibration
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.
Public fielddeadZone
If the Axis's absolute value is less than or equal to the dead zone, it will return 0.
Public fieldenabled
Enables or disables the Axis. A disabled Axis always returns a value of 0.
Public fieldinvert
If true, the final value will be multiplied by -1. This can be used to correct an inverted Axis.
Public fieldmax
The maximum value. This can be used to transform the value to a new range.
Public fieldmin
The minimum value. This can be used to transform the value to a new range.
Public fieldsensitivity
The sensitivity value.
Public fieldsensitivityCurve
The sensitivity curve. The curve has no effect unless sensitivityType is set to Curve.
Public fieldsensitivityType
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.
Public fieldzero
The zero value. This can be used to correct a non-zero resting state.
Top
See Also