GvrControllerReticleVisual.FaceCameraData

Camera facing positioning data.

Summary

These are parameters for restricting recenters along given euler angle axes.

Constructors and Destructors

FaceCameraData(bool startEnabled)
Initializes a new instance of the FaceCameraData struct.

Public attributes

alongXAxis
bool
Value true if aligned on X axis.
alongYAxis
bool
Value true if aligned on Y axis.
alongZAxis
bool
Value true if aligned on Z axis.

Properties

IsAnyAxisOff
bool
Gets a value indicating whether any axis is off.

Public attributes

alongXAxis

bool GvrControllerReticleVisual::FaceCameraData::alongXAxis

Value true if aligned on X axis.

If true, the eulerAngle.x is set to 0 (relative to the designated Camera) after a recenter. Otherwise, eulerAngle.x is determined by relative look-positon from the Camera.

alongYAxis

bool GvrControllerReticleVisual::FaceCameraData::alongYAxis

Value true if aligned on Y axis.

If true, the eulerAngle.y is set to 0 (relative to the designated Camera) after a recenter. Otherwise, eulerAngle.y is determined by relative look-positon from the Camera.

alongZAxis

bool GvrControllerReticleVisual::FaceCameraData::alongZAxis

Value true if aligned on Z axis.

If true, the eulerAngle.z is set to 0 (relative to the designated Camera) after a recenter. Otherwise, eulerAngle.z is determined by relative look-positon from the Camera.

Properties

IsAnyAxisOff

bool GvrControllerReticleVisual::FaceCameraData::IsAnyAxisOff

Gets a value indicating whether any axis is off.

Value false if along any axis, true otherwise.

Public functions

FaceCameraData

 GvrControllerReticleVisual::FaceCameraData::FaceCameraData(
  bool startEnabled
)

Initializes a new instance of the FaceCameraData struct.

Details
Parameters
startEnabled
Whether the axes should start enabled.