Class ARAssembly
- Namespace
- easyar
- Assembly
- EasyAR.Sense.dll
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. Will vary when using different frame sources.
public IReadOnlyList<ARSession.ARCenterMode> AvailableCenterMode { get; }
Property Value
Camera
On desktop devices or mobile phones, this camera represents the Camera corresponding to the camera device in the real environment in the virtual world. Its projection matrix and position will correspond to the real camera and be controlled by EasyAR. On a headset, this camera is only used to display some diagnostic text in front of the eyes, not for screen rendering, and the camera is not controlled by EasyAR.
public Camera Camera { get; }
Property Value
CameraImageRenderer
Camera image renderer. When using AR Foundation or a headset, EasyAR does not control image rendering, and it will have no value.
public Optional<CameraImageRenderer> CameraImageRenderer { get; }
Property Value
Display
Display device information used by Assembly.
public IDisplay Display { get; }
Property Value
ExtraBufferCapacity
Additional required device buffer capacity. If you need to keep the image in OutputFrame/InputFrame or InputFrame beyond one rendered frame, you need to add 1.
public int ExtraBufferCapacity { get; set; }
Property Value
FrameFilters
List of FrameFilter.
public List<FrameFilter> FrameFilters { get; }
Property Value
FrameRecorder
Input frame recorder. The value will depend on your configuration on the recorder.
public Optional<FrameRecorder> FrameRecorder { get; }
Property Value
FrameSource
Frame data source.
public FrameSource FrameSource { get; }
Property Value
Origin
Session origin when any motion tracking feature is running.
public Optional<GameObject> Origin { get; }
Property Value
Methods
~ARAssembly()
protected ~ARAssembly()