Google VRController

Google VRController

Windows
MacOS
Linux
On this page

Actions

Get Arm Model Added Elbow Depth

Get the elbow depth used by the arm model in meters. Used in the mathematical model for calculating the controller position/rotation.

Target is Google VRController Function Library

Get Arm Model Added Elbow Height

Get the elbow height used by the arm model in meters. Used in the mathematical model for calculating the controller position/rotation.

Target is Google VRController Function Library

Get Arm Model Is Locked to Head

Get if the Arm Model will be locked to the head Pose.

Target is Google VRController Function Library

Get Arm Model Pointer Position Offset

Returns the local position of the pointer in the unreal coordinate system relative to the motion controller. The pointer is similar to the controller, except that it is slightly forward and rotated down by the pointer tilt angle. This is used to create more ergonomic comfort when pointing at things. This should be used for any reticle / laser implementation.

Target is Google VRController Function Library

Get Arm Model Pointer Tilt Angle

Get the pointer tilt angle.

Target is Google VRController Function Library

Get Battery Charging

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

Target is Google VRController Function Library

Get Battery Level

Get the bucketed controller battery level. Note this is an approximate level described by enumeration, not a percent.

Target is Google VRController Function Library

Get Controller Alpha Value

Get the current desired alpha value of the controller visual. This changes based on the FadeDistanceFromFace, and is used to prevent the controller From clipping awkwardly into the user's face.

Target is Google VRController Function Library

Get Fade Distance from Face

Controller distance from the face after which the alpha value decreases (meters).

Target is Google VRController Function Library

Get Google VRController APIStatus

Get the GoogleVR Controller API status

Target is Google VRController Function Library

Get Google VRController Event Manager

Return a pointer to the UGoogleVRControllerEventManager to hook up GoogleVR Controller specific event.

Target is Google VRController Function Library

Get Google VRController Handedness

Get user's handedness preference from GVRSDK

Target is Google VRController Function Library

Get Google VRController Orientation

This function return the orientation of the controller in unreal space.

Target is Google VRController Function Library

Get Google VRController Raw Accel

This function return the controller acceleration in gvr controller space.

Target is Google VRController Function Library

Get Google VRController Raw Gyro

This function return the controller angular velocity about each axis (positive means clockwise when sighting along axis) in gvr controller space.

Target is Google VRController Function Library

Get Google VRController State

Get the GoogleVR Controller state

Target is Google VRController Function Library

Get Tooltip Alpha Value

Get the current desired alpha value of the tooltip visual. When the controller is farther than TooltipMinDistanceFromFace this becomes 0 When the controller is closer than FadeDistanceFromFace this becomes 0 This is used so that the tooltips are only visible when the controller is being held up.

Target is Google VRController Function Library

Get Tooltip Max Angle from Camera

When the angle (degrees) between the controller and the head is larger than this value, the tooltip disappears. If the value is 180, then the tooltips are always shown. If the value is 90, the tooltips are only shown when they are facing the camera.

Target is Google VRController Function Library

Get Tooltip Min Distance from Face

Controller distance from the face after which the tooltips appear (meters).

Target is Google VRController Function Library

Is Arm Model Enabled

Determine if the arm model is enabled

Target is Google VRController Function Library

Set Arm Model Added Elbow Depth

Set the elbow depth used by the arm model in meters. Used in the mathematical model for calculating the controller position/rotation.

Target is Google VRController Function Library

Set Arm Model Added Elbow Height

Set the elbow height used by the arm model in meters. Used in the mathematical model for calculating the controller position/rotation.

Target is Google VRController Function Library

Set Arm Model Enabled

Set the arm model enabled/disabled

Target is Google VRController Function Library

Set Arm Model Is Locked to Head

Set if the Arm Model will be locked to the head Pose.

Target is Google VRController Function Library

Set Arm Model Pointer Tilt Angle

Set the pointer tilt angle. Defaults to 15 degrees, which is comfortable for most use cases.

Target is Google VRController Function Library

Set Fade Distance from Face

Controller distance from the face after which the alpha value decreases (meters).

Target is Google VRController Function Library

Set Tooltip Max Angle from Camera

When the angle (degrees) between the controller and the head is larger than this value, the tooltip disappears. If the value is 180, then the tooltips are always shown. If the value is 90, the tooltips are only shown when they are facing the camera.

Target is Google VRController Function Library

Set Tooltip Min Distance from Face

Controller distance from the face after which the tooltips appear (meters).

Target is Google VRController Function Library

Set Will Arm Model Use Accelerometer

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.

Target is Google VRController Function Library

Will Arm Model Use Accelerometer

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. 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.

Target is Google VRController Function Library

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback