GyroscopeResultSource Class

This type is an EasyAR Sense API in C#: GyroscopeResultSource . 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

Gyroscope 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< GyroscopeResult >> handler)

Sets data handler.

connect

C#

public virtual void connect( GyroscopeResultSink sink)

Connects to input port.

disconnect

C#

public virtual void disconnect()

Disconnects.