NRSDKApiForUnity
Structs
XRXREALCameraParameters
Unity.XR.XREAL.CameraParameters

Public Member Functions

 CameraParameters (CamMode webCamMode, BlendMode mode)
 

Properties

float hologramOpacity [get, set]
 
int frameRate [get, set]
 
int cameraResolutionWidth [get, set]
 
int cameraResolutionHeight [get, set]
 
CapturePixelFormat pixelFormat [get, set]
 
CamMode camMode [get, set]
 
AudioState audioState [get, set]
 
AndroidJavaObject mediaProjection [get, set]
 
BlendMode blendMode [get, set]
 
bool lockRoll [get, set]
 

Detailed Description

A camera parameters.

Constructor & Destructor Documentation

◆ CameraParameters()

Unity.XR.XREAL.CameraParameters.CameraParameters ( CamMode webCamMode,
BlendMode mode )

Constructor.

Parameters
webCamModeThe web camera mode.
modeThe mode.

Property Documentation

◆ cameraResolutionHeight

int Unity.XR.XREAL.CameraParameters.cameraResolutionHeight
getset

A valid height resolution for use with the web camera.

The height of the camera resolution.

◆ camMode

CamMode Unity.XR.XREAL.CameraParameters.camMode
getset

The camera mode of capture.

The camera mode.

◆ frameRate

int Unity.XR.XREAL.CameraParameters.frameRate
getset

The framerate at which to capture video. This is only for use with VideoCapture.

The frame rate.

◆ hologramOpacity

float Unity.XR.XREAL.CameraParameters.hologramOpacity
getset

The opacity of captured holograms.

The hologram opacity.