UGoogleVRControllerFunctionLibrary::GetBatteryCharging

Get whether the controller battery is currently charging.

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)(BlueprintPure, Category="GoogleVRController", Meta=(Keywords="Cardboard AVR GVR"))
static bool GetBatteryCharging
(
    EControllerHand Hand
)

Remarks

Get whether the controller battery is currently charging. This may not be real time information and may be slow to be updated.

Returns

true if the battery is charging.

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