C# Class SimShift.Services.CameraHorizon

This is an budget TrackIR feature for TDU2, designed to look side-ways when a look-around stick is moved. The look side-ways auto centers. Control of camera angle is done with ProcessMemoryWrite access.
Inheritance: IControlChainObj
Exibir arquivo Open project: nlhans/SimShift Class Usage Examples

Public Properties

Property Type Description
CameraAngle double

Public Methods

Method Description
GetAxis ( JoyControls c, double val ) : double
GetButton ( JoyControls c, bool val ) : bool
Requires ( JoyControls c ) : bool
TickControls ( ) : void
TickTelemetry ( IDataMiner data ) : void

Method Details

GetAxis() public method

public GetAxis ( JoyControls c, double val ) : double
c JoyControls
val double
return double

GetButton() public method

public GetButton ( JoyControls c, bool val ) : bool
c JoyControls
val bool
return bool

Requires() public method

public Requires ( JoyControls c ) : bool
c JoyControls
return bool

TickControls() public method

public TickControls ( ) : void
return void

TickTelemetry() public method

public TickTelemetry ( IDataMiner data ) : void
data IDataMiner
return void

Property Details

CameraAngle public_oe property

public double CameraAngle
return double