Class BrownConradyLens
Lens that implements post processing distortion following the brown-conrady model.
Inherited Members
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
public class BrownConradyLens : LensComponent
Constructors
Name | Description |
---|---|
BrownConradyLens() | Constructs the lens stack and initializes default parameters. |
Fields
Name | Description |
---|---|
focalLength | Focal length in millimeters, represents the distance between the aperture and the sensor. |
renderHeight | The vertical resolution at which the scene is sampled. |
renderSensorSizeFactor | The multiplier applied to the sensor size before the scene is sampled. |
renderWidth | The horizontal resolution at which the scene is sampled. |
useRaytracing | Enable to use raytracing effects in the camera. |
Methods
Name | Description |
---|---|
InternalActivate(IPhotosensorArrayDescription) | Initializes child-specific parts of the lens component. |
InternalDeactivate() | Releases resources in the child implementation when the lens component is deactivated. |
InternalPostSampling(CustomPassContext, in RenderTexture) | Runs after the sampling step, before returning the frame to the sensor. Can be used to do anything with the texture after the sampling is complete. For example: post processing. |