This site has been archived and remains strictly as a historical reference for developers who actively maintain apps built using the legacy Google VR SDK, which was last updated in 2019 and is no longer receiving updates.
  • All developers actively developing experiences for Google Cardboard should use the new open source Cardboard SDKs for iOS, Android NDK, and Unity XR Plugin. These new SDKs offer streamlined APIs, improved device compatibility, and built-in viewer profile QR code scanning.
  • The Daydream View VR headset is no longer available for purchase as of October 15, 2019. Existing apps on supported devices are unaffected for users who previously installed those applications. It is no longer possible to opt-in to Daydream distribution via Google Play.

gvr_value

#include <gvr_types.h>

A generic container for various pure value types.

Summary

Public attributes

@4
union gvr_value::@3
d
double
f
float
fl
gvr_flags
fl64
gvr_flags64
flags
gvr_flags
i
int32_t
i64
int64_t
m4f
padding[248]
uint8_t
qf
rf
ri
si
t
v2f
v3f
value_type
int32_t

Public attributes

@4

union gvr_value::@3 gvr_value::@4

d

double gvr_value::d

f

float gvr_value::f

fl

gvr_flags gvr_value::fl

fl64

gvr_flags64 gvr_value::fl64

flags

gvr_flags gvr_value::flags

i

int32_t gvr_value::i

i64

int64_t gvr_value::i64

m4f

gvr_mat4f gvr_value::m4f

padding

uint8_t gvr_value::padding[248]

qf

gvr_quatf gvr_value::qf

rf

gvr_rectf gvr_value::rf

ri

gvr_recti gvr_value::ri

si

gvr_sizei gvr_value::si

t

gvr_clock_time_point gvr_value::t

v2f

gvr_vec2f gvr_value::v2f

v3f

gvr_vec3f gvr_value::v3f

value_type

int32_t gvr_value::value_type