GvrBaseArmModel

Interface for a mathematical model that 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.

Summary

Inheritance

Inherits from: MonoBehaviour
Direct Known Subclasses:GvrArmModel

Properties

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

Properties

ControllerPositionFromHead

abstract Vector3 ControllerPositionFromHead

Vector to represent the controller's location relative to the user's head position.

ControllerRotationFromHead

abstract Quaternion ControllerRotationFromHead

Quaternion to represent the controller's rotation relative to the user's head position.

PreferredAlpha

abstract float PreferredAlpha

The suggested rendering alpha value of the controller.

This is to prevent the controller from intersecting the face. The range is always 0 - 1.

TooltipAlphaValue

abstract float TooltipAlphaValue

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.