MagnetometerResultSource Class¶
This type is an EasyAR Sense API in C#: MagnetometerResultSource . Some descriptions may not apply to Unity environment on this page.
Some parts of the Sense API may have already been wrapped into Unity components, and directly usages may not be necessary.
Description¶
Magnetometer result output port.
It is used to expose output port for a component.
All members of this class is thread-safe.
Methods¶
setHandler¶
- C#
public virtual void setHandler(Optional<Action< MagnetometerResult >> handler)
Sets data handler.
connect¶
- C#
public virtual void connect( MagnetometerResultSink sink)
Connects to input port.
disconnect¶
- C#
public virtual void disconnect()
Disconnects.