C# Class OptionsMenuController, KestrelFPV

Inheritance: MonoBehaviour
显示文件 Open project: eleurent/KestrelFPV Class Usage Examples

Public Properties

Property Type Description
axisToggleA Toggle,
axisToggleE Toggle,
axisToggleR Toggle,
axisToggleT Toggle,
cameraFOVSlider Slider,
cameraTiltSlider Slider,
drone GameObject
enableStabilizationToggle Toggle,
heightSensitivitySlider Slider,
optionsPanel GameObject
squareMappingToggle Toggle
tiltAngleKpSlider Slider
tiltAngleSlider Slider
tiltRateKpSlider Slider
tiltSensitivitySlider Slider
verticalSpeedKpSlider Slider
verticalSpeedSlider Slider
yawAngleKpSlider Slider
yawRateKpSlider Slider
yawSensitivitySlider Slider

Public Methods

Method Description
Initialize ( ) : void
SetDrone ( GameObject drone ) : void
Start ( ) : void
Update ( ) : void
resetDefaults ( ) : void
setCameraFOV ( float value ) : void
setCameraTilt ( float value ) : void
setEnableStabilization ( bool value ) : void
setHeightSensitivity ( float value ) : void
setInvertAxisA ( bool value ) : void
setInvertAxisE ( bool value ) : void
setInvertAxisR ( bool value ) : void
setInvertAxisT ( bool value ) : void
setSquareMapping ( bool value ) : void
setTiltAngle ( float value ) : void
setTiltAngleKp ( float value ) : void
setTiltRateKp ( float value ) : void
setTiltSensitivity ( float value ) : void
setVerticalSpeed ( float value ) : void
setVerticalSpeedKp ( float value ) : void
setYawAngleKp ( float value ) : void
setYawRateKp ( float value ) : void
setYawSensitivity ( float value ) : void

Method Details

Initialize() public method

public Initialize ( ) : void
return void

SetDrone() public method

public SetDrone ( GameObject drone ) : void
drone GameObject
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

resetDefaults() public method

public resetDefaults ( ) : void
return void

setCameraFOV() public method

public setCameraFOV ( float value ) : void
value float
return void

setCameraTilt() public method

public setCameraTilt ( float value ) : void
value float
return void

setEnableStabilization() public method

public setEnableStabilization ( bool value ) : void
value bool
return void

setHeightSensitivity() public method

public setHeightSensitivity ( float value ) : void
value float
return void

setInvertAxisA() public method

public setInvertAxisA ( bool value ) : void
value bool
return void

setInvertAxisE() public method

public setInvertAxisE ( bool value ) : void
value bool
return void

setInvertAxisR() public method

public setInvertAxisR ( bool value ) : void
value bool
return void

setInvertAxisT() public method

public setInvertAxisT ( bool value ) : void
value bool
return void

setSquareMapping() public method

public setSquareMapping ( bool value ) : void
value bool
return void

setTiltAngle() public method

public setTiltAngle ( float value ) : void
value float
return void

setTiltAngleKp() public method

public setTiltAngleKp ( float value ) : void
value float
return void

setTiltRateKp() public method

public setTiltRateKp ( float value ) : void
value float
return void

setTiltSensitivity() public method

public setTiltSensitivity ( float value ) : void
value float
return void

setVerticalSpeed() public method

public setVerticalSpeed ( float value ) : void
value float
return void

setVerticalSpeedKp() public method

public setVerticalSpeedKp ( float value ) : void
value float
return void

setYawAngleKp() public method

public setYawAngleKp ( float value ) : void
value float
return void

setYawRateKp() public method

public setYawRateKp ( float value ) : void
value float
return void

setYawSensitivity() public method

public setYawSensitivity ( float value ) : void
value float
return void

Property Details

axisToggleA public_oe property

public Toggle, axisToggleA
return Toggle,

axisToggleE public_oe property

public Toggle, axisToggleE
return Toggle,

axisToggleR public_oe property

public Toggle, axisToggleR
return Toggle,

axisToggleT public_oe property

public Toggle, axisToggleT
return Toggle,

cameraFOVSlider public_oe property

public Slider, cameraFOVSlider
return Slider,

cameraTiltSlider public_oe property

public Slider, cameraTiltSlider
return Slider,

drone public_oe property

public GameObject drone
return GameObject

enableStabilizationToggle public_oe property

public Toggle, enableStabilizationToggle
return Toggle,

heightSensitivitySlider public_oe property

public Slider, heightSensitivitySlider
return Slider,

optionsPanel public_oe property

public GameObject optionsPanel
return GameObject

squareMappingToggle public_oe property

public Toggle squareMappingToggle
return Toggle

tiltAngleKpSlider public_oe property

public Slider tiltAngleKpSlider
return Slider

tiltAngleSlider public_oe property

public Slider tiltAngleSlider
return Slider

tiltRateKpSlider public_oe property

public Slider tiltRateKpSlider
return Slider

tiltSensitivitySlider public_oe property

public Slider tiltSensitivitySlider
return Slider

verticalSpeedKpSlider public_oe property

public Slider verticalSpeedKpSlider
return Slider

verticalSpeedSlider public_oe property

public Slider verticalSpeedSlider
return Slider

yawAngleKpSlider public_oe property

public Slider yawAngleKpSlider
return Slider

yawRateKpSlider public_oe property

public Slider yawRateKpSlider
return Slider

yawSensitivitySlider public_oe property

public Slider yawSensitivitySlider
return Slider