Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/UMotionControllerComponent
Description
If the motion tracking system provides linear acceleration at this time the vector will be that acceleration in cm/(s^2) in unreal world space and the function will return true. If acceleration is unavailable it will return false.
| Name | GetLinearAcceleration |
| Type | function |
| Header File | /Engine/Source/Runtime/HeadMountedDisplay/Public/MotionControllerComponent.h |
| Include Path | #include "MotionControllerComponent.h" |
| Source | /Engine/Source/Runtime/HeadMountedDisplay/Private/MotionControllerComponent.cpp |
UFUNCTION (BlueprintPure, Category="Motion Controller Update")
bool GetLinearAcceleration
(
FVector & OutLinearAcceleration
) const