Struct CameraDesc
Describe the required parameter to build a camera.
Namespace: Mechatronics.SensorSDK
Syntax
public struct CameraDesc
Fields
CameraOrder
Used to define a rendering order for all photosensor array. (0 is highest priority)
Declaration
public float CameraOrder
Field Value
Type | Description |
---|---|
Single |
ExposureTime
The amount of time the photosensor is capturing light, in seconds
Declaration
public float ExposureTime
Field Value
Type | Description |
---|---|
Single |
Gain
Amplification factor applied to the captured light. 1.0 is the default gain, more than 1.0 is brighter, less than 1.0 is darker.
Declaration
public float Gain
Field Value
Type | Description |
---|---|
Single |
lensDesc
Describe a standard unity camera lens system. If set to null, it will use the default value when creating a new camera
Declaration
public LensSystemDesc lensDesc
Field Value
Type | Description |
---|---|
LensSystemDesc |
renderBufferHeight
Number of vertical pixels
Declaration
public int renderBufferHeight
Field Value
Type | Description |
---|---|
Int32 |
renderBufferWidth
Number of horizontal pixels
Declaration
public int renderBufferWidth
Field Value
Type | Description |
---|---|
Int32 |
renderTextureFormat
Color format of the texture used to store the sampling output
Declaration
public RenderTextureFormat renderTextureFormat
Field Value
Type | Description |
---|---|
RenderTextureFormat |
renderTextureReadWrite
Define if the texture must have a native gamma correction when storing values.
Declaration
public RenderTextureReadWrite renderTextureReadWrite
Field Value
Type | Description |
---|---|
RenderTextureReadWrite |
sensorHeight
Height of the physical sensor in millimeters
Declaration
public float sensorHeight
Field Value
Type | Description |
---|---|
Single |
sensorWidth
Width of the physical sensor in millimeters
Declaration
public float sensorWidth
Field Value
Type | Description |
---|---|
Single |