Liking cljdoc? Tell your friends :D

web.vr.VRFieldOfView

The VRFieldOfView interface of the WebVR API represents a field view defined by 4 different degree values describing the view a center point.

The VRFieldOfView interface of the WebVR API represents a field
view defined by 4 different degree values describing the view
a center point.
raw docstring

constructorcljs

(constructor & args)

Constructor.

The VRFieldOfView() constructor creates a new VRFieldOFView object.

Four argument version:

upDegrees The number of degrees upwards that the field of view will extend in. rightDegrees The number of degrees to the right that the field of view will extend in. downDegrees The number of degrees downwards that the field of view will extend in. leftDegrees The number of degrees to the left that the field of view will extend in.

One argument version:

init A dictionary object containing the four degree values specified above.

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/VRFieldOfView

Constructor.

The VRFieldOfView() constructor creates a new `VRFieldOFView` object.

Four argument version:


upDegrees
The number of degrees upwards that the field of view will extend in.
rightDegrees
The number of degrees to the right that the field of view will extend in.
downDegrees
The number of degrees downwards that the field of view will extend in.
leftDegrees
The number of degrees to the left that the field of view will extend in.



One argument version:


init
A dictionary object containing the four degree values specified above.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/VRFieldOfView`
sourceraw docstring

down-degreescljs

(down-degrees this)

Property.

[Read Only] [Deprecated] [Experimental]

The downDegrees read-only property of the web.vr.VRFieldOfView returns the number of degrees downwards that the field of view in.

var myDownDegrees = VRFieldOfView.downDegrees;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees

Property.

[Read Only]
[Deprecated]
[Experimental]

The downDegrees read-only property of the `web.vr.VRFieldOfView`
returns the number of degrees downwards that the field of view
in.

`var myDownDegrees = VRFieldOfView.downDegrees;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/downDegrees`
sourceraw docstring

left-degreescljs

(left-degrees this)

Property.

[Read Only] [Deprecated] [Experimental]

The leftDegrees read-only property of the web.vr.VRFieldOfView returns the number of degrees to the left that the field of view in.

var myLeftDegrees = VRFieldOfView.leftDegrees;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees

Property.

[Read Only]
[Deprecated]
[Experimental]

The leftDegrees read-only property of the `web.vr.VRFieldOfView`
returns the number of degrees to the left that the field of view
in.

`var myLeftDegrees = VRFieldOfView.leftDegrees;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/leftDegrees`
sourceraw docstring

right-degreescljs

(right-degrees this)

Property.

[Read Only] [Deprecated] [Experimental]

The rightDegrees read-only property of the web.vr.VRFieldOfView returns the number of degrees to the right that the field of extends in.

var myRightDegrees = VRFieldOfView.rightDegrees;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees

Property.

[Read Only]
[Deprecated]
[Experimental]

The rightDegrees read-only property of the `web.vr.VRFieldOfView`
returns the number of degrees to the right that the field of
extends in.

`var myRightDegrees = VRFieldOfView.rightDegrees;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/rightDegrees`
sourceraw docstring

up-degreescljs

(up-degrees this)

Property.

[Read Only] [Deprecated] [Experimental]

The upDegrees read-only property of the web.vr.VRFieldOfView returns the number of degrees upwards that the field of view in.

var myUpDegrees = VRFieldOfView.upDegrees;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees

Property.

[Read Only]
[Deprecated]
[Experimental]

The upDegrees read-only property of the `web.vr.VRFieldOfView`
returns the number of degrees upwards that the field of view
in.

`var myUpDegrees = VRFieldOfView.upDegrees;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/VRFieldOfView/upDegrees`
sourceraw docstring

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

× close