Search Results for

    Show / Hide Table of Contents

    Class Magnometer

    Magnometer data of the device's orientation relative to Earth's magnetic field.

    Inheritance
    object
    Magnometer
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Platform
    Assembly: Evergine.Platform.dll
    Syntax
    public class Magnometer : IDisposable

    Properties

    IsStarted

    Gets a value indicating whether the magnometer sensor has been started.

    Declaration
    public bool IsStarted { get; }
    Property Value
    Type Description
    bool

    MagneticField

    Gets the magnetic field vector in microteslas (µ).

    Declaration
    public Vector3 MagneticField { get; }
    Property Value
    Type Description
    Vector3

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Start()

    Start monitoring for changes to magnometer.

    Declaration
    public void Start()

    Stop()

    Stop monitoring for changes to magnometer.

    Declaration
    public void Stop()

    Implements

    IDisposable

    Extension Methods

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