| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/Source/GoogleVRController/Classes/GoogleVRControllerFunctionLibrary.h |
Include |
#include "GoogleVRControllerFunctionLibrary.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UGoogleVRControllerFunctionLibrary : public UBlueprintFunctionLibrary
GoogleVRController Extensions Function Library
Name | Description | |
---|---|---|
|
UGoogleVRControllerFunctionLibrary ( |
Name | Description | ||
---|---|---|---|
|
float |
GetArmModelAddedElbowDepth() |
Get the elbow depth used by the arm model in meters. |
|
float |
GetArmModelAddedElbowHeight() |
Get the elbow height used by the arm model in meters. |
|
GetArmModelIsLockedToHead() |
Get if the Arm Model will be locked to the head Pose. |
|
|
GetArmModelPointerPositionOffset() |
Returns the local position of the pointer in the unreal coordinate system relative to the motion controller. |
|
|
float |
GetArmModelPointerTiltAngle() |
Get the pointer tilt angle. |
|
GetBatteryCharging ( |
Get whether the controller battery is currently charging. |
|
|
EGoogleVRCon... |
GetBatteryLevel ( |
Get the bucketed controller battery level. |
|
float |
GetControllerAlphaValue() |
Get the current desired alpha value of the controller visual. |
|
float |
GetFadeDistanceFromFace() |
Controller distance from the face after which the alpha value decreases (meters). |
|
EGoogleVRCon... |
GetGoogleVRControllerAPIStatus() |
Get the GoogleVR Controller API status |
|
UGoogleVRCon... |
GetGoogleVRControllerEventManager() |
Return a pointer to the UGoogleVRControllerEventManager to hook up GoogleVR Controller specific event. |
|
EGoogleVRCon... |
GetGoogleVRControllerHandedness() |
Get user's handedness preference from GVRSDK |
|
GetGoogleVRControllerOrientation ( |
This function return the orientation of the controller in unreal space. |
|
|
GetGoogleVRControllerRawAccel ( |
This function return the controller acceleration in gvr controller space. |
|
|
GetGoogleVRControllerRawGyro ( |
This function return the controller angular velocity about each axis (positive means clockwise when sighting along axis) in gvr controller space. |
|
|
EGoogleVRCon... |
GetGoogleVRControllerState ( |
Get the GoogleVR Controller state |
|
int64_t |
GetLastBatteryTimestamp ( |
Get the timestamp (nanos) when the last battery event was received. |
|
float |
GetTooltipAlphaValue() |
Get the current desired alpha value of the tooltip visual. |
|
int |
GetTooltipMaxAngleFromCamera() |
When the angle (degrees) between the controller and the head is larger than this value, the tooltip disappears. |
|
float |
GetTooltipMinDistanceFromFace() |
Controller distance from the face after which the tooltips appear (meters). |
|
IsArmModelEnabled() |
Below are functions for controlling the Arm Model. |
|
|
SetArmModelAddedElbowDepth ( |
Set the elbow depth used by the arm model in meters. |
|
|
SetArmModelAddedElbowHeight ( |
Set the elbow height used by the arm model in meters. |
|
|
SetArmModelEnabled ( |
Set the arm model enabled/disabled |
|
|
SetArmModelIsLockedToHead ( |
Set if the Arm Model will be locked to the head Pose. |
|
|
SetArmModelPointerTiltAngle ( |
Set the pointer tilt angle. Defaults to 15 degrees, which is comfortable for most use cases. |
|
|
SetFadeDistanceFromFace ( |
Controller distance from the face after which the alpha value decreases (meters). |
|
|
SetTooltipMaxAngleFromCamera ( |
When the angle (degrees) between the controller and the head is larger than this value, the tooltip disappears. |
|
|
SetTooltipMinDistanceFromFace ( |
Controller distance from the face after which the tooltips appear (meters). |
|
|
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. |
|
|
WillArmModelUseAccelerometer() |
Get 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. |