Class SegmentationLens
Implements a lens component to extract segmentation data from the simulation.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Mechatronics.SensorSDK
Syntax
public class SegmentationLens : LensComponent
Fields
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 |
isPalletized
If true, it assigns a random color to each indexes.
Declaration
public bool isPalletized
Field Value
Type | Description |
---|---|
Boolean |
Methods
Activate(IPhotosensorArrayDescription)
Initializes the lens component.
Declaration
public override void Activate(IPhotosensorArrayDescription sensorDesc)
Parameters
Type | Name | Description |
---|---|---|
IPhotosensorArrayDescription | sensorDesc | Information define on the photosensor array node. |