Class LensSystemDesc
Use to describe a lens system.
Namespace: Mechatronics.SensorSDK
Syntax
public class LensSystemDesc
Fields
anamorphism
Stretch the sensor to simulate an anamorphic look.
Declaration
public float anamorphism
Field Value
Type | Description |
---|---|
Single |
aperture
The f-stop (f-number) of the lens. Lower values give a wider lens aperture. ie: f-stop = f / aperture
Declaration
public float aperture
Field Value
Type | Description |
---|---|
Single |
barrelClipping
Controls the self-occlusion of the lens, creating a cat's eye effect.
Declaration
public float barrelClipping
Field Value
Type | Description |
---|---|
Single |
bladeCount
The number of blades in the lens aperture. Higher values give a rounder aperture shape.
Declaration
public uint bladeCount
Field Value
Type | Description |
---|---|
UInt32 |
curvature
Controls the curvature of the lens aperture blades. The minimum value results in fully-curved, perfectly-circular bokeh, and the maximum value results in visible aperture blades.
Declaration
public Vector2 curvature
Field Value
Type | Description |
---|---|
Vector2 |
focalLength
The simulated distance, in millimeters, between the lens and the sensor of the physical camera. Larger values gives a narrower field of view.
Declaration
public float focalLength
Field Value
Type | Description |
---|---|
Single |
shift
Offset from the camera sensor. Use these properties to simulate a shift lens. Measured as a multiple of the sensor size.
Declaration
public Vector2 shift
Field Value
Type | Description |
---|---|
Vector2 |