NWH Aerodynamics
Search Results for

    Show / Hide Table of Contents

    Class HUD_Altimeter

    Aircraft HUD instrument displaying altitude using three rotating hands (100ft, 1000ft, 10000ft).

    Inheritance
    object
    Object
    Component
    Behaviour
    MonoBehaviour
    HUD_Instrument
    HUD_Altimeter
    Inherited Members
    HUD_Instrument.aircraftSource
    HUD_Instrument.targetAircraftController
    HUD_Instrument.Awake()
    HUD_Instrument.Update()
    Namespace: NWH.Aerodynamics.AircraftController.Instruments
    Assembly: NWH.Aerodynamics.dll
    Syntax
    public class HUD_Altimeter : HUD_Instrument

    Fields

    | Edit this page View Source

    degreesPerMark

    Degrees of rotation per major scale marking. Negative values rotate counter-clockwise.

    Declaration
    [Tooltip("Degrees of rotation per one major marking on the scale (e.g. 100/1000/10000 feet).")]
    public float degreesPerMark
    Field Value
    Type Description
    float
    | Edit this page View Source

    hand10000ft

    Transform for the 10,000 feet indicator hand.

    Declaration
    [Tooltip("    Hand indicating 10000s of feet.\r\n    Usually not actually a hand but a rotating background element with a small readout window.")]
    public Transform hand10000ft
    Field Value
    Type Description
    Transform
    | Edit this page View Source

    hand1000ft

    Transform for the 1,000 feet indicator hand.

    Declaration
    [Tooltip("Hand indicating 1000s of feet.")]
    public Transform hand1000ft
    Field Value
    Type Description
    Transform
    | Edit this page View Source

    hand100ft

    Transform for the 100 feet indicator hand.

    Declaration
    [Tooltip("Hand indicating 100s of feet.")]
    public Transform hand100ft
    Field Value
    Type Description
    Transform

    Methods

    | Edit this page View Source

    LateUpdate()

    Updates altimeter hand positions based on aircraft altitude.

    Declaration
    public void LateUpdate()
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © NWH - Vehicle Physics, Aerodynamics, Dynamic Water Physics