C# (CSharp) Ovr Hmd - 4 Beispiele gefunden. Dies sind die am besten bewerteten C# (CSharp) Beispiele für die Ovr.Hmd, die aus Open Source-Projekten extrahiert wurden. Sie können Beispiele bewerten, um die Qualität der Beispiele zu verbessern.
Verbunden
Related in langs
Provides an interface to a CAPI HMD object. The ovrHmd instance is normally created by ovrHmd::Create, after which its other methods can be called. The typical process would involve calling: Setup: - Initialize() to initialize the OVR SDK. - Construct Hmd to create an ovrHmd. - Use hmd members and ovrHmd_GetFovTextureSize() to determine graphics configuration. - ConfigureTracking() to configure and initialize tracking. - ConfigureRendering() to setup graphics for SDK rendering, which is the preferred approach. - Please refer to "Client Distortion Rendering" below if you prefer to do that instead. - If ovrHmdCap_ExtendDesktop is not set, use ovrHmd_AttachToWindow to associate the window with an Hmd. - Allocate render textures as needed. Game Loop: - Call ovrHmd_BeginFrame() to get frame timing and orientation information. - Render each eye in between, using ovrHmd_GetEyePoses or ovrHmd_GetHmdPosePerEye to get the predicted hmd pose and each eye pose. - Call ovrHmd_EndFrame() to render distorted textures to the back buffer and present them on the Hmd. Shutdown: - Dispose the Hmd to release the ovrHmd. - ovr_Shutdown() to shutdown the OVR SDK.