IOculusHMDModule::GetRawSensorData

Reports raw sensor data. If HMD doesn't support any of the parameters then it will be set to zero.

Windows
MacOS
Linux

References

Module

OculusHMD

Header

/Engine/Plugins/Runtime/Oculus/OculusVR/Source/OculusHMD/Public/IOculusHMDModule.h

Include

#include "IOculusHMDModule.h"

Syntax

void GetRawSensorData
(
    FVector & AngularAcceleration,
    FVector & LinearAcceleration,
    FVector & AngularVelocity,
    FVector & LinearVelocity,
    float & TimeInSeconds
)

Remarks

Reports raw sensor data. If HMD doesn't support any of the parameters then it will be set to zero.

Parameters

Parameter

Description

AngularAcceleration

(out) Angular acceleration in radians per second per second.

LinearAcceleration

(out) Acceleration in meters per second per second.

AngularVelocity

(out) Angular velocity in radians per second.

LinearVelocity

(out) Velocity in meters per second.

TimeInSeconds

(out) Time when the reported IMU reading took place, in seconds.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss