The OrientationSensor interface of the the Sensor APIs is the class for orientation sensors. This interface cannot be used Instead it provides properties and methods accessed by interfaces inherit from it.
The OrientationSensor interface of the the Sensor APIs is the class for orientation sensors. This interface cannot be used Instead it provides properties and methods accessed by interfaces inherit from it.
(populate-matrix this & args)
Method.
The populateMatrix method of the web.orientation.OrientationSensor
populates the given target matrix with the rotation matrix based
the latest sensor reading. The rotation matrix is shown below.
`orientationInstance.populateMatrix(targetMatrix)
Because web.orientation.OrientationSensor
is a base class, populateMatrix may only be read from one of its derived classes.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor/populateMatrix
Method. The populateMatrix method of the `web.orientation.OrientationSensor` populates the given target matrix with the rotation matrix based the latest sensor reading. The rotation matrix is shown below. `orientationInstance.populateMatrix(targetMatrix) Because `web.orientation.OrientationSensor` is a base class, populateMatrix may only be read from one of its derived classes.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor/populateMatrix`
(quaternion this)
Property.
[Read Only]
The quaternion read-only property of the web.orientation.OrientationSensor
returns a four element js.Array
whose elements contain the
of the unit quaternion representing the device's orientation.
`var quaternion = orientationInstance.quaternion
Because web.orientation.OrientationSensor
is a base class, quaternion may only be read from one of its derived classes.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor/quaternion
Property. [Read Only] The quaternion read-only property of the `web.orientation.OrientationSensor` returns a four element `js.Array` whose elements contain the of the unit quaternion representing the device's orientation. `var quaternion = orientationInstance.quaternion Because `web.orientation.OrientationSensor` is a base class, quaternion may only be read from one of its derived classes.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/OrientationSensor/quaternion`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close