Liking cljdoc? Tell your friends :D

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.

The VRFieldOfView() constructor creates a new vr.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 `vr.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.

The downDegrees read-only property of the 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.

The downDegrees read-only property of the `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.

The leftDegrees read-only property of the 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.

The leftDegrees read-only property of the `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.

The rightDegrees read-only property of the 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.

The rightDegrees read-only property of the `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

set-down-degrees!cljs

(set-down-degrees! this val)

Property.

The downDegrees read-only property of the 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.

The downDegrees read-only property of the `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

set-left-degrees!cljs

(set-left-degrees! this val)

Property.

The leftDegrees read-only property of the 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.

The leftDegrees read-only property of the `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

set-right-degrees!cljs

(set-right-degrees! this val)

Property.

The rightDegrees read-only property of the 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.

The rightDegrees read-only property of the `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

set-up-degrees!cljs

(set-up-degrees! this val)

Property.

The upDegrees read-only property of the vr.VRFieldOfView interface the number of degrees upwards that the field of view extends

var myUpDegrees = VRFieldOfView.upDegrees;

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

Property.

The upDegrees read-only property of the `vr.VRFieldOfView` interface
the number of degrees upwards that the field of view extends

`var myUpDegrees = VRFieldOfView.upDegrees;`

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

up-degreescljs

(up-degrees this)

Property.

The upDegrees read-only property of the vr.VRFieldOfView interface the number of degrees upwards that the field of view extends

var myUpDegrees = VRFieldOfView.upDegrees;

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

Property.

The upDegrees read-only property of the `vr.VRFieldOfView` interface
the number of degrees upwards that the field of view extends

`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