Search Results for

    Show / Hide Table of Contents

    Struct CompassState

    Define a compass state.

    Implements
    IController
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Evergine.Common.Input
    Assembly: Evergine.Common.dll
    Syntax
    public struct CompassState : IController

    Fields

    Accuracy

    The accuracy of the measure, in rads per seconds.

    Declaration
    public float Accuracy
    Field Value
    Type Description
    float

    RawGeographicHeading

    The raw geographical heading of the device.

    Declaration
    public float RawGeographicHeading
    Field Value
    Type Description
    float

    RawMagneticHeading

    The raw magnetic heading of the device.

    Declaration
    public float RawMagneticHeading
    Field Value
    Type Description
    float

    SmoothGeographicHeading

    The heading, in rads per seconds, measured counter clockwise from the Earth’s geographic north.

    Declaration
    public float SmoothGeographicHeading
    Field Value
    Type Description
    float

    SmoothMagneticHeading

    The heading, in rads per seconds, measured counterclockwise from the Earth’s magnetic north.

    Declaration
    public float SmoothMagneticHeading
    Field Value
    Type Description
    float

    TimeStamp

    A timestamp indicating the time at which the compass reading was taken.

    Declaration
    public DateTimeOffset TimeStamp
    Field Value
    Type Description
    DateTimeOffset

    Properties

    IsConnected

    Gets or sets a value indicating whether this instance is connected.

    Declaration
    public bool IsConnected { readonly get; set; }
    Property Value
    Type Description
    bool

    true if this instance is connected; otherwise, false.

    Implements

    IController

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX