docs.unity3d.com
    Show / Hide Table of Contents

    Class RgbSensorDefinition

    Definition of an RGB Camera sensor.

    Inheritance
    Object
    DataModelElement
    SensorDefinition
    RgbSensorDefinition
    Inherited Members
    SensorDefinition.captureTriggerMode
    SensorDefinition.description
    SensorDefinition.firstCaptureFrame
    SensorDefinition.framesBetweenCaptures
    SensorDefinition.manualSensorsAffectTiming
    SensorDefinition.modality
    SensorDefinition.simulationDeltaTime
    SensorDefinition.ToMessage(IMessageBuilder)
    SensorDefinition.IsValid()
    DataModelElement.id
    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
    Overrides
    SensorDefinition.modelType
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023