Class: VRSeeThroughCamera

VRSeeThroughCamera

new VRSeeThroughCamera()

A class that represents a see through camera. Both VR and AR displays may provide access to a camera that can be used to show the reality around the user. This class provides information about the camera characteristics and it can also be used to render each frame acquired from the camera.
Source:

Members

(readonly) focalLengthX :double

The hortizontal focal length.
Type:
  • double
Source:

(readonly) focalLengthY :double

The vertical focal length.
Type:
  • double
Source:

(readonly) height :long

The vertical size of the camera.
Type:
  • long
Source:

(readonly) MARKER_TYPE_AR :long

A constant that represents the AR marker type. The value is equivalent to 0x01.
Type:
  • long
Source:

(readonly) MARKER_TYPE_QRCODE :long

A constant that represents the QR Code marker type. The value is equivalente to 0x02.
Type:
  • long
Source:

(readonly) orientation :long

The orientation of the camera.
Type:
  • long
Source:

(readonly) pointX :double

The horizontal value that represents the center of the camera.
Type:
  • double
Source:

(readonly) pointY :double

The vertical value that represents the center of the camera.
Type:
  • double
Source:

(readonly) textureHeight :long

The vertical size of the texture used to hold each camera frame. It can be the same or a bigger value than the camera height.
Type:
  • long
Source:

(readonly) textureWidth :long

The horizontal size of the texture used to hold each camera frame. It can be the same or a bigger value than the camera width.
Type:
  • long
Source:

(readonly) width :long

The horizontal size of the camera.
Type:
  • long
Source: