UnitySensors
UnitySensors.Sensor.UnitySensor Class Referenceabstract
Inheritance diagram for UnitySensors.Sensor.UnitySensor:
Collaboration diagram for UnitySensors.Sensor.UnitySensor:

Public Member Functions

delegate void OnSensorUpdated ()
 

Public Attributes

OnSensorUpdated onSensorUpdated
 

Protected Member Functions

virtual void Update ()
 
abstract void Init ()
 
abstract void UpdateSensor ()
 
abstract void OnSensorDestroy ()
 

Properties

float dt [get]
 
float time [get]
 
- Properties inherited from UnitySensors.Interface.Std.ITimeInterface
float time [get]
 

Private Member Functions

void Awake ()
 
void OnDestroy ()
 

Private Attributes

float _frequency = 10.0f
 
float _time
 
float _dt
 
float _frequency_inv
 

Member Function Documentation

◆ Awake()

void UnitySensors.Sensor.UnitySensor.Awake ( )
private
Here is the call graph for this function:

◆ Init()

◆ OnDestroy()

void UnitySensors.Sensor.UnitySensor.OnDestroy ( )
private
Here is the call graph for this function:

◆ OnSensorDestroy()

◆ OnSensorUpdated()

delegate void UnitySensors.Sensor.UnitySensor.OnSensorUpdated ( )

◆ Update()

virtual void UnitySensors.Sensor.UnitySensor.Update ( )
protectedvirtual

Reimplemented in UnitySensors.Sensor.IMU.IMUSensor.

Here is the call graph for this function:

◆ UpdateSensor()

Member Data Documentation

◆ _dt

float UnitySensors.Sensor.UnitySensor._dt
private

◆ _frequency

float UnitySensors.Sensor.UnitySensor._frequency = 10.0f
private

◆ _frequency_inv

float UnitySensors.Sensor.UnitySensor._frequency_inv
private

◆ _time

float UnitySensors.Sensor.UnitySensor._time
private

◆ onSensorUpdated

OnSensorUpdated UnitySensors.Sensor.UnitySensor.onSensorUpdated

Property Documentation

◆ dt

float UnitySensors.Sensor.UnitySensor.dt
get

◆ time

float UnitySensors.Sensor.UnitySensor.time
get

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