Class SixDOFDevice
Special case of an InputDevice identifying itself as a SixDOF. Defines convenience methods to access the typical gamepad axes and buttons. Registers the gamepad dpad axes.
Inherited Members
Namespace: Fusee.Engine.Core
Assembly: Fusee.Engine.Core.dll
Syntax
public class SixDOFDevice : InputDevice
Constructors
SixDOFDevice(IInputDeviceImp)
Initializes a new instance of the SixDOFDevice class.
Declaration
public SixDOFDevice(IInputDeviceImp inpDeviceImp)
Parameters
Type | Name | Description |
---|---|---|
IInputDeviceImp | inpDeviceImp | The platform dependent connector to the underlying physical device. |
Properties
Rotation
Gets the rotation values.
Declaration
public float3 Rotation { get; }
Property Value
Type | Description |
---|---|
float3 | The SixDOF device´s rotation from its resting position. |
Translation
Gets the deflection values.
Declaration
public float3 Translation { get; }
Property Value
Type | Description |
---|---|
float3 | The SixDOF device´s deflection from its resting position. |
XDesc
Retrieves information about the x axis.
Declaration
public AxisDescription XDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the x axis. |
XRotDesc
Retrieves information about the x rotation axis.
Declaration
public AxisDescription XRotDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the x rotation axis. |
YDesc
Retrieves information about the y axis.
Declaration
public AxisDescription YDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the y axis. |
YRotDesc
Retrieves information about the y rotation axis.
Declaration
public AxisDescription YRotDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the y rotation axis. |
ZDesc
Retrieves information about the z axis.
Declaration
public AxisDescription ZDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the z axis. |
ZRotDesc
Retrieves information about the z rotation axis.
Declaration
public AxisDescription ZRotDesc { get; }
Property Value
Type | Description |
---|---|
AxisDescription | The description for the z rotation axis. |