Class RgbSensorDefinition
Definition of an RGB Camera sensor.
Implements
Inherited Members
Namespace: UnityEngine.Perception.GroundTruth.DataModel
Assembly: Unity.Perception.Runtime.dll
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, float, int, bool, string, float, bool)
Declaration
public RgbSensorDefinition(string id, CaptureTriggerMode captureTriggerMode, string description, float firstCaptureFrame, int framesBetweenCaptures, bool manualSensorsAffectTiming, string modality, float simulationDeltaTime, bool useAccumulation = false)
Parameters
Type | Name | Description |
---|---|---|
string | id | |
CaptureTriggerMode | captureTriggerMode | |
string | description | |
float | firstCaptureFrame | |
int | framesBetweenCaptures | |
bool | manualSensorsAffectTiming | |
string | modality | |
float | simulationDeltaTime | |
bool | useAccumulation |
Properties
modelType
Type of the data object
Declaration
public override string modelType { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
useAccumulation
Declaration
public bool useAccumulation { get; set; }
Property Value
Type | Description |
---|---|
bool |