FrameSourceCamera Class

Description

Camera to provide camera frame data in frame source.


Properties

CameraType

C#

public CameraDeviceType CameraType { get; }

Camera device type.

CameraOrientation

C#

public int CameraOrientation { get; }

Angles rotation required to rotate clockwise and display camera image on device with natural orientation. The range is [0, 360).

FrameSize

C#

public Vector2Int FrameSize { get; }

The size of image.

FrameRateRange

C#

public Vector2 FrameRateRange { get; }

The frame rate range. Define x is lower bound and y is upper bound of the frame rate range.


Methods

.ctor

C#

public FrameSourceCamera( CameraDeviceType cameraType, int cameraOrientation, Vector2Int frameSize, Vector2 frameRateRange)

Set value according to the description of each property.