Table of Contents

Interface IOrientationSensor

Namespace
Stride.Input
Assembly
Stride.Input.dll

This class represents a sensor of type Orientation. It measures the orientation of device in the real world.

public interface IOrientationSensor : ISensorDevice, IInputDevice
Inherited Members

Properties

Pitch

Gets the value of the pitch (in radian). The pitch is the rotation around the lateral axis of the device, that is the Ox axis.

float Pitch { get; }

Property Value

float

Quaternion

Gets the quaternion specifying the current rotation of the device.

Quaternion Quaternion { get; }

Property Value

Quaternion

Roll

Gets the value of the roll (in radian). The roll is the rotation around the longitudinal axis of the device, that is the Oy axis.

float Roll { get; }

Property Value

float

RotationMatrix

Gets the rotation matrix specifying the current rotation of the device.

Matrix RotationMatrix { get; }

Property Value

Matrix

Yaw

Gets the value of the yaw (in radian). The yaw is the rotation around the vertical axis of the device, that is the Oz axis.

float Yaw { get; }

Property Value

float