Class ARAssembly
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
An assembly of AR components. It implements a typical assembly of 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. They vary when different frame sources are used.
public IReadOnlyList<ARSession.ARCenterMode> AvailableCenterMode { get; }
Camera
On desktop devices or phones, this camera represents the Camera corresponding to the real-world camera device in the virtual world. Its projection matrix and position correspond to the real camera and are controlled by EasyAR. On headsets, this camera is only used to display some diagnostic text in front of the eyes, is not used for image rendering, and is not controlled by EasyAR.
public Camera Camera { get; }
CameraImageRenderer
Camera image renderer. When using AR Foundation or a headset, EasyAR does not control image rendering, and this has no value.
public Optional<CameraImageRenderer> CameraImageRenderer { get; }
Display
Display device information used by Assembly.
public IDisplay Display { get; }
ExtraBufferCapacity
Additional required device buffer capacity. If you need to retain OutputFrame/InputFrame or an image in InputFrame for more than one rendered frame, increase it by 1.
public int ExtraBufferCapacity { get; set; }
FrameFilters
A list of FrameFilter.
public List<FrameFilter> FrameFilters { get; }
FrameRecorder
Input frame recorder. The value depends on your configuration on the recorder.
public Optional<FrameRecorder> FrameRecorder { get; }
FrameSource
Frame data source.
public FrameSource FrameSource { get; }
Origin
The session origin when any motion tracking feature is running.
public Optional<GameObject> Origin { get; }
Methods
~ARAssembly()
protected ~ARAssembly()