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.
gvr_recenter_event_data
#include <gvr_types.h>
Event data associated with a GVR_EVENT_RECENTER event, which indicates head tracking recentering.
Summary
(Controller recentering is signaled separately through gvr_controller_state_get_recentered().) The client may wish to handle this event to provide custom recentering logic.
Public attributes
recenter_event_flags
gvr_flags gvr_recenter_event_data::recenter_event_flags
recenter_type
int32_t gvr_recenter_event_data::recenter_type
gvr_mat4f gvr_recenter_event_data::start_space_from_tracking_space_transform
The new transform that maps from headset's "sensor" space to the recentered "start" space.
This transform can also be retrieved by querying for the GVR_PROPERTY_RECENTER_TRANSFORM property.
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."],[[["`gvr_recenter_event_data` provides information about head tracking recentering events, separate from controller recentering."],["This event allows custom recentering logic implementation within the client."],["Data includes event flags, recenter type, and a transform matrix for sensor to start space mapping."],["The transform matrix, mapping headset sensor space to recentered start space, is also accessible through the `GVR_PROPERTY_RECENTER_TRANSFORM` property."]]],["The `gvr_recenter_event_data` indicates head tracking recentering, distinct from controller recentering. It includes `recenter_event_flags`, `recenter_type`, and `start_space_from_tracking_space_transform`. The transform maps the headset's \"sensor\" space to the recentered \"start\" space, and is also retrievable through the GVR_PROPERTY_RECENTER_TRANSFORM property. Clients may implement custom logic upon receiving this event.\n"]]