[][src]Function gvr_sys::gvr_controller_state_get_recentered

pub unsafe extern "C" fn gvr_controller_state_get_recentered(
    state: *const gvr_controller_state
) -> bool

Returns true if a recenter operation just ended. This is a transient event: (i.e., it is true only for one frame after the recenter ended). If this is true then the orientation field is already relative to the new center.

@param state The controller state to get the recenter information from. @return True iff a recenter operation just ended, false otherwise.