Class RgbSensorDefinition
Definition of an RGB Camera sensor.
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.DataModel
Syntax
public class RgbSensorDefinition : SensorDefinition, IMessageProducer
Constructors
RgbSensorDefinition(String, String, String)
Constructor for the sensor definition.
Declaration
public RgbSensorDefinition(string id, string modality, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| String | id | The id of the sensor |
| String | modality | The modality of the sensor |
| String | description | The description of the sensor |
RgbSensorDefinition(String, CaptureTriggerMode, String, Single, Int32, Boolean, String, Single)
Constructor for the sensor definition.
Declaration
public RgbSensorDefinition(string id, CaptureTriggerMode captureTriggerMode, string description, float firstCaptureFrame, int framesBetweenCaptures, bool manualSensorsAffectTiming, string modality, float simulationDeltaTime)
Parameters
| Type | Name | Description |
|---|---|---|
| String | id | The id of the sensor |
| CaptureTriggerMode | captureTriggerMode | The capture trigger mode of the sensor |
| String | description | The description of the sensor |
| Single | firstCaptureFrame | The first capture frame |
| Int32 | framesBetweenCaptures | Frames between captures |
| Boolean | manualSensorsAffectTiming | Do manual sensors affect timing |
| String | modality | The modality of the sensor |
| Single | simulationDeltaTime | The simulation delta time |
Properties
modelType
Declaration
public override string modelType { get; }
Property Value
| Type | Description |
|---|---|
| String |