ARAssembly Class¶
Description¶
Assembly of AR components. It implements one typical assemble strategy for all EasyAR Sense components.
+-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .-- .--+
| .
. +---------------------------------------------------------------+ |
| | | .
. | + -> ObjectTracker - - - - + | |
| v ' ' | .
. +--> i2FAdapter --> fbFrameFork - - > ImageTracker - - - + ' | |
| | ' ' | .
v | v v | |
FrameSource --> (FrameRecorder) --> iFrameThrottler --> iFrameFork --> i2OAdapter ------------------------------------> oFrameJoin --> oFrameFork --> oFrameBuffer ~~> o
' ^ ^ ^
' ' ' '
+ - - - - - - - - - - - - - - - - - > Mega*Tracker- - + ' '
' ' '
+ - - - - - - - - - - - - - - - - - > SparseSpatialMap - + '
' '
+ - - - - - - - - - - - - - - - - - > SurfaceTracker - - - -+
'
+ - - - - - - - - - - - - - - - - - > DenseSpatialMap ~ ~ > o
'
+ - - - - - - - - - - - - - - - - - > CloudRecognizer ~ ~ > o
Properties¶
FrameSource¶
- C#
public FrameSource FrameSource { get; }
Frame source.
FrameRecorder¶
- C#
public Optional< FrameRecorder > FrameRecorder { get; }
Frame recorder. The value depends on your configuration on the recorder.
FrameFilters¶
- C#
public List< FrameFilter > FrameFilters { get; }
FrameFilter list.
Camera¶
- C#
public Camera Camera { get; }
On desktop or mobile phones, it represents the Camera in the virtual world in reflection of real world camera device, its projection matrix and transform will be set to reflect the real world camera, and it is controlled by EasyAR. On head mounted devices, it is only used to display some diagnostics message in front of your eyes, it is not used for camera image rendering, it is not controled by EasyAR.
CameraImageRenderer¶
- C#
public Optional< CameraImageRenderer > CameraImageRenderer { get; }
Camera image renderer. If has no value if EasyAR does not control image rendering, when using AR Foundation or HMD.
Origin¶
- C#
public Optional< GameObject > Origin { get; }
Origin of session when one type of motion tracking is running.
AvailableCenterMode¶
- C#
public IReadOnlyList< ARSession.ARCenterMode > AvailableCenterMode { get; }
Available center mode. Vary when using different frame source.
ExtraBufferCapacity¶
- C#
public int ExtraBufferCapacity { get; set; }
Extra device buffer capacity. When you hold a OutputFrame/InputFrame or image from InputFrame for more than one render frame, you should increase this value by one.
Display¶
- C#
public IDisplay Display { get; }
Display information used by the assembly.