Liking cljdoc? Tell your friends :D

web.OrientationSensor

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.
raw docstring

populate-matrixcljs

(populate-matrix this & args)

Method.

The populateMatrix method of the web.OrientationSensor interface the given target matrix with the rotation matrix based on the sensor reading. The rotation matrix is shown below.

`orientationInstance.populateMatrix(targetMatrix)

Because web.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.OrientationSensor` interface
the given target matrix with the rotation matrix based on the
sensor reading. The rotation matrix is shown below.

`orientationInstance.populateMatrix(targetMatrix)

Because `web.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`
sourceraw docstring

quaternioncljs

(quaternion this)

Property.

The quaternion read-only property of the web.OrientationSensor returns a four element web.Array whose elements contain the of the unit quaternion representing the device's orientation.

`var quaternion = orientationInstance.quaternion

Because web.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.

The quaternion read-only property of the `web.OrientationSensor`
returns a four element `web.Array` whose elements contain the
of the unit quaternion representing the device's orientation.

`var quaternion = orientationInstance.quaternion

Because `web.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`
sourceraw docstring

set-quaternion!cljs

(set-quaternion! this val)

Property.

The quaternion read-only property of the web.OrientationSensor returns a four element web.Array whose elements contain the of the unit quaternion representing the device's orientation.

`var quaternion = orientationInstance.quaternion

Because web.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.

The quaternion read-only property of the `web.OrientationSensor`
returns a four element `web.Array` whose elements contain the
of the unit quaternion representing the device's orientation.

`var quaternion = orientationInstance.quaternion

Because `web.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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close