Search Results for

    Show / Hide Table of Contents

    Class OrientationSensor

    Orientation sensor data of the orientation of a device in three dimensional space.

    Inheritance
    object
    OrientationSensor
    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 OrientationSensor : IDisposable

    Properties

    IsStarted

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

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

    Orientation

    Gets the current orientation that represents a Quaternion.

    Declaration
    public Quaternion Orientation { get; }
    Property Value
    Type Description
    Quaternion

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Start()

    Start monitoring for changes to orientation sensor.

    Declaration
    public void Start()

    Stop()

    Stop monitoring for changes to orientation sensor.

    Declaration
    public void Stop()

    Implements

    IDisposable

    Extension Methods

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