UnitySensors
UnitySensors.Sensor.Camera.RGBCameraSensor Class Reference
Inheritance diagram for UnitySensors.Sensor.Camera.RGBCameraSensor:
Collaboration diagram for UnitySensors.Sensor.Camera.RGBCameraSensor:

Protected Member Functions

override void Init ()
 
override void UpdateSensor ()
 
bool LoadTexture ()
 
override void OnSensorDestroy ()
 
- Protected Member Functions inherited from UnitySensors.Sensor.UnitySensor
virtual void Update ()
 

Properties

override UnityEngine.Camera m_camera [get]
 
Texture2D texture0 [get]
 
Texture2D texture1 [get]
 
- Properties inherited from UnitySensors.Sensor.Camera.CameraSensor
abstract UnityEngine.Camera m_camera [get]
 
- Properties inherited from UnitySensors.Sensor.UnitySensor
float dt [get]
 
float time [get]
 
- Properties inherited from UnitySensors.Interface.Std.ITimeInterface
float time [get]
 
- Properties inherited from UnitySensors.Interface.Sensor.ICameraInterface
Camera m_camera [get]
 
- Properties inherited from UnitySensors.Interface.Sensor.ITextureInterface
Texture2D texture0 [get]
 
Texture2D texture1 [get]
 

Private Attributes

UnityEngine.Camera _camera
 
RenderTexture _rt = null
 
Texture2D _texture
 

Additional Inherited Members

- Public Member Functions inherited from UnitySensors.Sensor.UnitySensor
delegate void OnSensorUpdated ()
 
- Public Attributes inherited from UnitySensors.Sensor.UnitySensor
OnSensorUpdated onSensorUpdated
 
- Protected Attributes inherited from UnitySensors.Sensor.Camera.CameraSensor
Vector2Int _resolution = new Vector2Int(640, 480)
 
float _fov = 30.0f
 

Member Function Documentation

◆ Init()

override void UnitySensors.Sensor.Camera.RGBCameraSensor.Init ( )
protectedvirtual

◆ LoadTexture()

bool UnitySensors.Sensor.Camera.RGBCameraSensor.LoadTexture ( )
protected
Here is the caller graph for this function:

◆ OnSensorDestroy()

override void UnitySensors.Sensor.Camera.RGBCameraSensor.OnSensorDestroy ( )
protectedvirtual

◆ UpdateSensor()

override void UnitySensors.Sensor.Camera.RGBCameraSensor.UpdateSensor ( )
protectedvirtual

Implements UnitySensors.Sensor.UnitySensor.

Here is the call graph for this function:

Member Data Documentation

◆ _camera

UnityEngine.Camera UnitySensors.Sensor.Camera.RGBCameraSensor._camera
private

◆ _rt

RenderTexture UnitySensors.Sensor.Camera.RGBCameraSensor._rt = null
private

◆ _texture

Texture2D UnitySensors.Sensor.Camera.RGBCameraSensor._texture
private

Property Documentation

◆ m_camera

override UnityEngine.Camera UnitySensors.Sensor.Camera.RGBCameraSensor.m_camera
get

◆ texture0

Texture2D UnitySensors.Sensor.Camera.RGBCameraSensor.texture0
get

◆ texture1

Texture2D UnitySensors.Sensor.Camera.RGBCameraSensor.texture1
get

The documentation for this class was generated from the following file: