Class HUD_Attitude
Aircraft instrument for attitude (pitch and roll) indication.
Inherited Members
Namespace: NWH.Aerodynamics.AircraftController.Instruments
Assembly: NWH.Aerodynamics.dll
Syntax
public class HUD_Attitude : HUD_Instrument
Fields
| Edit this page View SourceartificialSky
Outer ring of the Attitude instrument. Shows artificial sky and artificial earth and rotates with pitch indicator.
Declaration
[Tooltip(" Outer ring of the Attitude instrument. Shows artificial sky and artificial earth and rotates with pitch indicator.")]
public Transform artificialSky
Field Value
| Type | Description |
|---|---|
| Transform |
horizon
Background element without any markings.
Declaration
[Tooltip("Background element without any markings.")]
public Transform horizon
Field Value
| Type | Description |
|---|---|
| Transform |
pitchIndicator
Pitch/roll indicator. Usually has a ladder with horizon and pitch values.
Declaration
[Tooltip("Pitch/roll indicator. Usually has a ladder with horizon and pitch values.")]
public Transform pitchIndicator
Field Value
| Type | Description |
|---|---|
| Transform |
unitsPerDegree
Units per degree of pitch/roll. If the indicator is a RectTransform (UI) the unit will be pixels and usually correspond to about 1 pixel / degree. If the indicator is a Transform (3D) the unit will be 3D units (meter) and usually correspond to about 0.001 meter / degree.
Declaration
[Tooltip(" Units per degree of pitch/roll.\r\n If the indicator is a RectTransform (UI) the unit will be pixels and usually correspond to about 1 pixel / degree.\r\n If the indicator is a Transform (3D) the unit will be 3D units (meter) and usually correspond to about 0.001 meter\r\n / degree.")]
public float unitsPerDegree
Field Value
| Type | Description |
|---|---|
| float |
Methods
| Edit this page View SourceAwake()
Declaration
public override void Awake()
Overrides
| Edit this page View SourceLateUpdate()
Declaration
public void LateUpdate()