GvrVRHelpers

Helper functions common to GVR VR applications.

Summary

Public static functions

GetHeadForward()
Vector3
GetHeadPosition()
Vector3
GetHeadRotation()
Quaternion
GetRayIntersection(GvrBasePointer.RaycastMode mode)
float
GetRecommendedMaxLaserDistance(GvrBasePointer.RaycastMode mode)
float
GetShrinkLaser(GvrBasePointer.RaycastMode mode)
bool
GetViewportCenter()
Vector2

Public static functions

GetHeadForward

Vector3 GetHeadForward()

GetHeadPosition

Vector3 GetHeadPosition()

GetHeadRotation

Quaternion GetHeadRotation()

GetRayIntersection

float GetRayIntersection(
  GvrBasePointer.RaycastMode mode
)

GetRecommendedMaxLaserDistance

float GetRecommendedMaxLaserDistance(
  GvrBasePointer.RaycastMode mode
)

GetShrinkLaser

bool GetShrinkLaser(
  GvrBasePointer.RaycastMode mode
)

GetViewportCenter

Vector2 GetViewportCenter()