Navigation
API > API/Runtime > API/Runtime/HeadMountedDisplay > API/Runtime/HeadMountedDisplay/UMotionControllerComponent
Description
If the motion tracking system provides linear velocity at this time the vector will be that velocity in cm/s in unreal world space and the function will return true. If velocity is unavailable it will return false.
| Name | GetLinearVelocity |
| 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 GetLinearVelocity
(
FVector & OutLinearVelocity
) const