This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
Deprecated List
Summary
- Member gvr::GvrApi::GetContext ()
Use cobj() instead. - Member gvr::GvrApi::GetContext () const
Use cobj() instead. - Member gvr_controller_state_get_recentering (const gvr_controller_state *state)
Use gvr_controller_state_get_recentered instead. - Member gvr_distort_to_screen (gvr_context *gvr, int32_t texture_id, const gvr_buffer_viewport_list *viewport_list, gvr_mat4f head_space_from_start_space, gvr_clock_time_point target_presentation_time)
Use the Swap Chain API instead. This function exists only to support legacy rendering pathways for Cardboard devices. It is incompatible with the low-latency experiences supported by async reprojection. - Member gvr_get_head_space_from_start_space_rotation (const gvr_context *gvr, const gvr_clock_time_point time)
Calls to this method can be safely replaced by calls to gvr_get_head_space_from_start_space_transform. The new API reflects that the call can return a full 6DoF transform when supported by both the host platform and the client application. - Member gvr_reset_tracking (gvr_context *gvr)
Calls to this method can be safely replaced by calls to gvr_recenter_tracking. This accomplishes the same effects but avoids the undesirable side-effects of a full reset (temporary loss of tracking quality).
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["This document lists deprecated members of the Google VR NDK along with recommended alternatives."],["Developers should replace deprecated members like `gvr::GvrApi::GetContext` with `cobj()`."],["`gvr_controller_state_get_recentering` is replaced by `gvr_controller_state_get_recentered`, while `gvr_distort_to_screen` should be replaced with the Swap Chain API."],["`gvr_get_head_space_from_start_space_rotation` can be safely replaced with `gvr_get_head_space_from_start_space_transform` and `gvr_reset_tracking` is replaced by `gvr_recenter_tracking` for better tracking quality."]]],[]]