UGoogleVRControllerFunctionLibrary::GetBatteryLevel

Get the bucketed controller battery level.

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 EGoogleVRControllerBatteryLevel GetBatteryLevel
(
    EControllerHand Hand
)

Remarks

Get the bucketed controller battery level.

this is an approximate level described by enumeration, not a percent.

Returns

the approximate battery level, or unknown if the level can not be determined.

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