pub unsafe extern "C" fn ovr_SetTrackingOriginType(
    session: ovrSession,
    origin: ovrTrackingOrigin
) -> ovrResult
Expand description

Sets the tracking origin type

When the tracking origin is changed, all of the calls that either provide or accept ovrPosef will use the new tracking origin provided.

session Specifies an ovrSession previously returned by ovr_Create.

origin Specifies an ovrTrackingOrigin to be used for all ovrPosef

Returns an ovrResult indicating success or failure. In the case of failure, use ovr_GetLastErrorInfo to get more information.

see ovrTrackingOrigin, ovr_GetTrackingOriginType