package cardboard

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message DeviceParams

cardboard_device.proto:46

* Message describing properties of a VR head mount device (HMD) which uses an interchangeable smartphone as a display (e.g. Google Cardboard). While some properties are certain (e.g. inter_lens_distance), others represent nominal values which may be refined depending on context (e.g. viewport_angles). Lengths are in meters unless noted otherwise. Fields are _required_ unless noted otherwise. Some context on why this set of parameters are deemed necessary and sufficient: * FOV scale can be reasonably approximated from lens-to-screen distance and display size (i.e. knowing lens focal length isn't crucial). * Lenses are assumed to be horizontally centered with respect to display. * The display is not necessarily vertically centered. For interchangeable phones where the device rests against a tray, we can derive the vertical offset from tray-to-lens height along with phone-specific bezel and screen sizes (supplied separately).

enum DeviceParams.ButtonType

cardboard_device.proto:107

Used in: DeviceParams

enum DeviceParams.VerticalAlignmentType

cardboard_device.proto:76

Used in: DeviceParams