Show / Hide Table of Contents

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.

Inheritance
System.Object
InputDevice
SixDOFDevice
Inherited Members
InputDevice.NewAxisID
InputDevice.IsConnected
InputDevice.Id
InputDevice.Desc
InputDevice.Category
InputDevice.AxesCount
InputDevice.AxisDesc
InputDevice.GetAxisDescription(Int32)
InputDevice.GetAxis(Int32)
InputDevice.GetAxisRaw(Int32)
InputDevice.SetAxisDeadzone(Int32, Single)
InputDevice.GetAxisDeadzone(Int32)
InputDevice.AxisValueChanged
InputDevice.ButtonCount
InputDevice.ButtonDesc
InputDevice.GetButtonDescription(Int32)
InputDevice.GetButton(Int32)
InputDevice.IsButtonDown(Int32)
InputDevice.IsButtonUp(Int32)
InputDevice.ButtonValueChanged
InputDevice.RegisterCalculatedAxis(AxisDescription, InputDevice.AxisValueCalculator, Single)
InputDevice.RegisterVelocityAxis(Int32, Int32, Int32, String, AxisDirection)
InputDevice.RegisterSingleButtonAxis(Int32, AxisDirection, Single, Single, Int32, String)
InputDevice.RegisterTwoButtonAxis(Int32, Int32, AxisDirection, Single, Single, Int32, String)
InputDevice.PostRender()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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.

Generated by DocFX
GitHub Repo
Back to top