Table of Contents

Class ARAssembly

Namespace
easyar
Assembly
EasyAR.Sense.dll

The assembly of AR components. It implements a typical assembly for all EasyAR Sense components.

public class ARAssembly : IDisposable
Inheritance
ARAssembly
Implements

Remarks

                                 +-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .--+
                                 |                                                                                                                  .
                                 .                                 +---------------------------------------------------------------+                |
                                 |                                 |                                                               |                .
                                 .                                 |                       + -> ObjectTracker - - - - +            |                |
                                 |                                 v                       '                          '            |                .
                                 .                        +--> i2FAdapter --> fbFrameFork - - > ImageTracker - - - +  '            |                |
                                 |                        |                                                        '  '            |                .
                                 v                        |                                                        v  v            |                |
 FrameSource         .--> iFrameThrottler --> iFrameFork --> i2OAdapter ------------------------------------> oFrameJoin --> oFrameFork --> oFrameBuffer ~~> o
     |               |                                    '                                                     ^  ^  ^
     v               |                                    '                                                     '  '  '
 InputFrameRecorder  |                                    + - - - - - - - - - - - - - - - - - > Mega*Tracker- - +  '  '
     |               |                                    '                                                        '  '
     v               |                                    + - - - - - - - - - - - - - - - - - > SparseSpatialMap - +  '
 (VideoInputFrameRecorder)                                '                                                           '
                                                          + - - - - - - - - - - - - - - - - - > SurfaceTracker - - - -+
                                                          '
                                                          + - - - - - - - - - - - - - - - - - > DenseSpatialMap ~ ~ > o
                                                          '
                                                          + - - - - - - - - - - - - - - - - - > CloudRecognizer ~ ~ > o

Properties

AvailableCenterMode

Available center modes. This varies depending on the frame source being used.

public IReadOnlyList<ARSession.ARCenterMode> AvailableCenterMode { get; }

Property Value

Camera

On desktop or mobile devices, this camera represents the virtual-world counterpart Camera of the physical camera device in the real environment. Its projection matrix and position will correspond to the real camera and are controlled by EasyAR. On head-mounted displays, this camera is solely used to display diagnostic text in front of the eyes and is not used for rendering. The camera is also not controlled by EasyAR.

public Camera Camera { get; }

Property Value

CameraImageRenderer

Camera image renderer. When using AR Foundation or head-mounted displays, EasyAR does not control image rendering, this will have no value.

public Optional<CameraImageRenderer> CameraImageRenderer { get; }

Property Value

Display

Display device information used by the Assembly.

public IDisplay Display { get; }

Property Value

ExtraBufferCapacity

Additional required device buffer capacity. Increase by 1 if you need to retain OutputFrames/InputFrames or images within InputFrames beyond the rendered frame.

public int ExtraBufferCapacity { get; set; }

Property Value

FrameFilters

public List<FrameFilter> FrameFilters { get; }

Property Value

FrameRecorder

Input frame recorder. Its value depends on your configuration on the recorder.

public Optional<FrameRecorder> FrameRecorder { get; }

Property Value

FrameSource

Frame data source.

public FrameSource FrameSource { get; }

Property Value

Origin

The session origin when any motion-tracking feature is running.

public Optional<GameObject> Origin { get; }

Property Value

Methods

~ARAssembly()

protected ~ARAssembly()