C# Class HFTGyroscope

Show file Open project: greggman/hft-unity-gamepad

Public Properties

Property Type Description
enabled bool
gravity Vector3
rotationRate Vector3
rotationRateUnbiased Vector3
updateInterval float
userAcceleration Vector3

Public Methods

Method Description
SetAttitude ( float alpha, float beta, float gamma, float orient ) : void

Private Methods

Method Description
QuatFromEuler ( float rx, float ry, float rz, Order, order ) : Quaternion

Method Details

SetAttitude() public method

public SetAttitude ( float alpha, float beta, float gamma, float orient ) : void
alpha float
beta float
gamma float
orient float
return void

Property Details

enabled public property

public bool enabled
return bool

gravity public property

public Vector3 gravity
return Vector3

rotationRate public property

public Vector3 rotationRate
return Vector3

rotationRateUnbiased public property

public Vector3 rotationRateUnbiased
return Vector3

updateInterval public property

public float updateInterval
return float

userAcceleration public property

public Vector3 userAcceleration
return Vector3