Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
2 results across 6 corpora for PositionSensorVRDevice: resetSensor() method.
Papers 0
This corpus is unavailable: timeout
Wikidata 0
This corpus is unavailable: timeout
Developer library 2
PositionSensorVRDevice
WebVR API The **`PositionSensorVRDevice`** interface of the [WebVR API](/docs/Web/API/WebVR_API) represents VR hardware's position sensor. You can access information such as the current position and orientation of the sensor in relation to the head mounted display through the PositionSensorVRDevice.getState() method. ## Instance properties _This interface doesn't define any properties of its own, but it does inher
PositionSensorVRDevice: resetSensor() method
WebVR API The **`resetSensor()`** method of the VRDisplay interface _can be used to reset the sensor if desired, returning the_ position and orientation values to zero. ## Syntax ```js-nolint resetSensor() ``` ### Parameters None. ### Return value None (undefined). ## Examples The following demo uses the WebVR API to update the view of a simple CanvasRenderingContext2D scene on each frame of a requestAnimati