{"json_modified": "2016-05-12T14:13:26.203999", "uuid": "057b19dd-223a-494f-b438-eb2c76e922af", "title": "PositionSensorVRDevice.getState()", "url": "/en-US/docs/Web/API/PositionSensorVRDevice/getState", "tags": ["API", "VR", "Obsolete", "Reference", "Experimental", "R\u00e9f\u00e9rence", "Exp\u00e9rimental", "PositionSensorVRDevice", "Virtual Reality", "WebVR", "Api", "Method"], "translations": [], "modified": "2016-05-12T14:13:26", "label": "PositionSensorVRDevice.getState()", "localization_tags": [], "locale": "en-US", "id": 149685, "last_edit": "2016-05-12T14:13:22", "summary": "The getState()
method of the PositionSensorVRDevice
interface returns the current state of the position sensor for the current frame (e.g. within the current window.requestAnimationFrame
callback) or for the previous frame, contained with a VRPositionState
object. This is the method you'd normally want to use, versus PositionSensorVRDevice.getImmediateState
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Parameters", "title": "Parameters"}, {"id": "Returns", "title": "Returns"}, {"id": "Examples", "title": "Examples"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/PositionSensorVRDevice/getState", "review_tags": []}