MegaTrackerLocalizationResponse Class

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

The response of MegaTracker localization request.


Methods

inputFrame

C#

public virtual InputFrame inputFrame()

The input frame on request.

acceleration

C#

public virtual Optional< AccelerometerResult > acceleration()

The accelerometer reading on request.

location

C#

public virtual Optional< LocationResult > location()

The location reading on request.

status

C#

public virtual MegaTrackerLocalizationStatus status()

Localization status.

instances

C#

public virtual List< MegaTrackerBlockInstance > instances()

Current localized block instances. An existing instance will be preserved until another block is localized, or when MegaTracker is stopped or paused.

serverResponseDuration

C#

public virtual Optional<double> serverResponseDuration()

The duration in seconds for server response.

serverCalculationDuration

C#

public virtual Optional<double> serverCalculationDuration()

The duration in seconds for server internal calculation.

errorMessage

C#

public virtual Optional<string> errorMessage()

Error message. It is filled when status is UnknownError.