UGoogleVRControllerFunctionLibrary::SetWillArmModelUseAccelerometer

Set if the arm model will use accelerometer data If this is turned on, then the arm model will estimate the position of the controller in space using accelerometer data.

Windows
MacOS
Linux

References

Module

GoogleVRController

Header

/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRControllerFunctionLibrary.h

Include

#include "GoogleVRControllerFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Private/GoogleVRControllerFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="GoogleVRController", Meta=(Keywords="Cardboard AVR GVR"))
static void SetWillArmModelUseAccelerometer
(
    bool UseAccelerometer
)

Remarks

Set if the arm model will use accelerometer data If this is turned on, then the arm model will estimate the position of the controller in space using accelerometer data. This is useful when trying to make the player feel like they are moving around a physical object. Not as useful when just interacting with UI.

Parameters

Parameter

Description

UseAccelerometer

value to set

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