OrientationSensorReading 클래스

정의

방향 센서 판독값을 나타냅니다.

public ref class OrientationSensorReading sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class OrientationSensorReading final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class OrientationSensorReading
Public NotInheritable Class OrientationSensorReading
상속
Object Platform::Object IInspectable OrientationSensorReading
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 개체는 GetCurrentReading 메서드를 호출할 때 액세스됩니다. 및 는 이벤트 콜백 메서드에서 OrientationSensorReadingChangedEventArgs 개체의 Reading 속성을 검색할 때 액세스됩니다.

버전 기록

Windows 버전 SDK 버전 추가된 값
1709 16299 PerformanceCount
1709 16299 속성

속성

PerformanceCount

읽기와 연결된 성능 수를 가져옵니다. 이렇게 하면 읽기를 시스템의 다른 디바이스 및 프로세스와 동기화할 수 있습니다.

Properties

센서에서 보고한 데이터 속성을 가져옵니다.

Quaternion

현재 방향 센서 판독값에 대한 Quaternion을 가져옵니다.

RotationMatrix

현재 방향 센서 판독값에 대한 회전 행렬을 가져옵니다.

Timestamp

센서가 판독값을 보고한 시간을 가져옵니다.

YawAccuracy

방향 센서의 z축 정확도를 가져옵니다.

적용 대상

추가 정보