Oculus的WebVR演示代码,WebVRisabrowserAPIusedtointerfacewithVRheadsets.WorkingwithWebVRdirectlyrequiresknowledgeofJavaScriptandWebGL.InterfacingwithaVRheadsetusingWebVRistypicallydoneintwophases:Setup.Theapplicationdetectstheheadset,describedbytheVRDeviceobject,andtargetsitforpresentati