October 15, 2019 update:
  • The Daydream View VR headset is no longer available for purchase. However, developers can continue to use the existing Google VR SDK to update and distribute their apps to the Google Play Store, and make them available to users in the Daydream app.

GvrBaseArmModel

Interface for a mathematical Arm model for 3DoF controllers.

Summary

Uses the orientation and location of the physical controller, and predicts the location of the controller and pointer to determine where to place the controller model within the scene.

Inheritance

Inherits from: MonoBehaviour
Direct Known Subclasses:GvrArmModel

Properties

ControllerPositionFromHead
abstract Vector3
Gets a Vector to represent the controller's location relative to the player's head position.
ControllerRotationFromHead
abstract Quaternion
Gets a Quaternion to represent the controller's rotation relative to the player's head position.
PreferredAlpha
abstract float
Gets the suggested rendering alpha value of the controller.
TooltipAlphaValue
abstract float
Gets the suggested rendering alpha value of the controller tooltips.

Properties

ControllerPositionFromHead

abstract Vector3 ControllerPositionFromHead

Gets a Vector to represent the controller's location relative to the player's head position.

A Vector to represent the controller's location.

ControllerRotationFromHead

abstract Quaternion ControllerRotationFromHead

Gets a Quaternion to represent the controller's rotation relative to the player's head position.

A Quaternion to represent the controller's rotation.

PreferredAlpha

abstract float PreferredAlpha

Gets the suggested rendering alpha value of the controller.

This is to prevent the controller from intersecting the player's face.

The range is always 0 - 1.

The suggested rendering alpha value of the controller.

TooltipAlphaValue

abstract float TooltipAlphaValue

Gets the suggested rendering alpha value of the controller tooltips.

This is to only display the tooltips when the player is looking at the controller, and also to prevent the tooltips from intersecting the player's face.

The suggested rendering alpha value of the controller tooltips.