Namespace easyar
클래스
- APIExtend
EasyAR Sense API 및 Unity API를 확장하여 데이터 변환과 같은 작업을 편리하게 합니다.
- APIKeyAccessData
API Key를 사용하는 EasyAR 클라우드 서비스 인증 데이터입니다. 관련 데이터는 EasyAR Developer Center(https://www.easyar.cn)에서 확인하십시오.
- ARAssembly
AR 컴포넌트의 assembly입니다. 모든 EasyAR Sense 컴포넌트의 일반적인 assembly를 구현합니다.
- ARCoreARFoundationFrameSource
씬에서 AR Foundation 의 ARCore 출력을 EasyAR 입력에 연결하는 사용자 지정 frame source 입니다. EasyAR Sense 의 custom camera 기능을 통해 AR Foundation 지원을 제공합니다.
이 frame source 는 motion tracking 디바이스이며 ARSession 에서 모션 데이터를 출력합니다.
이 frame source 를 사용하려면 ``AR Foundation`` 이 필요합니다. 공식 문서에 따라 AR Foundation 을 구성해야 합니다.
- ARCoreFrameSource
A MonoBehaviour that controls the ARCore camera device (easyar.ARCoreCameraDevice) in the scene and provides functional extensions in the Unity environment.
This frame source is a motion tracking device and outputs motion data in ARSession.
- AREngineFrameSource
A custom frame source that connects the output of the AREngine camera device in the scene to EasyAR input. It provides Huawei AR Engine support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
This frame source does not use ``Huawei AR Engine Unity SDK`` and it does not need to be added.
- ARFoundationFrameSource
A custom frame source that connects AR Foundation output in the scene to EasyAR input. It provides AR Foundation support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
To use this frame source, ``AR Foundation`` is required. You need to configure AR Foundation according to the official documentation.
- ARKitARFoundationFrameSource
씬에서 AR Foundation 의 ARKit 출력을 EasyAR 입력에 연결하는 사용자 지정 frame source 입니다. EasyAR Sense 의 custom camera 기능을 통해 AR Foundation 지원을 제공합니다.
이 frame source 는 motion tracking 디바이스이며 ARSession 에서 모션 데이터를 출력합니다.
이 frame source 를 사용하려면 ``AR Foundation`` 이 필요합니다. 공식 문서에 따라 AR Foundation 을 구성해야 합니다.
- ARKitFrameSource
A MonoBehaviour that controls the ARKit camera device (easyar.ARKitCameraDevice) in the scene and provides functional extensions in the Unity environment.
This frame source is a motion tracking device and outputs motion data in ARSession.
- ARSession
A MonoBehaviour that controls an AR session in the scene. A session contains a group of components assembled into ARAssembly and controls the data flow of the entire lifecycle. This component is the entry point for AR. Multiple active instances are not allowed at the same time.
All functions of EasyAR components can be used only after StartSession().
The relative transform between Camera and some AR components is controlled by session. One of the objects is called CenterObject; it stays still in the scene, and other objects move relative to this CenterObject. This object is selected according to the value of CenterMode. For more details, see the description of ARSession.ARCenterMode.
- ARSession.FlipOptions
미러 렌더링 옵션입니다.
- ARSessionFactory
ARSession factory입니다.
- ARSessionFactory.Resources
해당 컴포넌트를 생성하는 데 필요한 리소스입니다.
- ActiveController
activeSelf 를 관리하는 MonoBehaviour 입니다.
기본 전략은 다음과 같습니다. TargetController 는 기본적으로 ActiveWhileTracked 를 사용하고, XROriginChildController 는 기본적으로 ActiveAfterFirstTracked 를 사용합니다.
OverrideStrategy 를 사용하여 기본 전략을 재정의할 수 있습니다. 제어를 끄려면 MonoBehaviour.enabled 를 false 로 설정합니다.
- AppSecretAccessData
App Secret을 사용하는 EasyAR 클라우드 서비스 인증 데이터입니다. 관련 데이터는 EasyAR Developer Center(https://www.easyar.cn)에서 확인하십시오.
- AssembleOptions
ARSession의 assembly 옵션입니다.
- AssembleOptions.DeviceListDownload
장치 목록 다운로드 옵션입니다.
- Buffer
Buffer 는 원시 바이트 배열을 저장하며 이미지 데이터에 접근하는 데 사용할 수 있습니다. Java API 에서는 `Image`_ 에서 buffer 를 얻은 다음 데이터를 Java 바이트 배열로 copy 할 수 있습니다. EasyAR Sense 의 모든 버전에서 이미지 데이터에 접근할 수 있습니다. `Image`_ 를 참조하세요.
- BufferDictionary
파일 경로에서 `Buffer`_ 로의 매핑입니다. 메모리에 배치된 여러 파일을 나타내는 데 사용됩니다.
- BufferPool
BufferPool은 메모리 풀을 구현합니다. 사용자 지정 카메라 접근처럼 같은 크기의 메모리를 반복적으로 할당해야 하는 기능에 사용할 수 있어 메모리 할당 시간을 줄입니다.
- CameraDeviceDisplay
일반 카메라의 표시입니다. Unity Editor 또는 PC에서 화면 회전을 시뮬레이션하여 특수한 화면 배치 요구에 맞출 수 있습니다.
- CameraDeviceFrameSource
A MonoBehaviour that controls easyar.CameraDevice in the scene and provides functional extensions in the Unity environment.
This frame source is not a motion tracking device and does not output motion data in ARSession.
- CameraImageRenderer
씬에서 camera 이미지 렌더링을 제어하는 MonoBehaviour입니다. session의 frame source IsCameraUnderControl가 true인 경우에만 유효합니다.
- CameraParameters
camera parameters. image 크기, focal length, principal point, camera 유형, device natural orientation 기준 camera 회전 각도를 포함합니다.
- CloudLocalizerFrameFilter
scene에서 easyar.CloudLocalizer를 제어하고 Unity 환경에서 기능 확장을 제공하는 MonoBehaviour입니다.
대부분의 경우 MegaTrackerFrameFilter를 사용해야 합니다.
- CloudRecognizationResponse
인식 요청의 응답입니다.
- CloudRecognizerFrameFilter
씬에서 easyar.CloudRecognizer 를 제어하고 Unity 환경에서 기능 확장을 제공하는 MonoBehaviour 입니다.
- DenseSpatialMapBlockController
씬에서 easyar.DenseSpatialMap가 생성한 맵 메시 블록을 제어하는 MonoBehaviour입니다.
- DenseSpatialMapBuilderFrameFilter
씬에서 easyar.DenseSpatialMap를 제어하는 MonoBehaviour로, Unity 환경에서 기능 확장을 제공합니다.
- DeviceFrameSourceCamera
frame source 에서 camera 프레임 데이터를 제공하는 device camera 입니다.
- DeviceFrameSourceCamera.CameraExtrinsics
카메라 외부 파라미터이며, 일반적으로 보정 행렬로서 장치/머리 pose 원점에 대한 카메라의 물리적 오프셋을 표현합니다.
- DiagnosticsController
현재 ARSession 의 diagnostics controller 입니다. 가장 먼저 끄는 컴포넌트가 아니라 개발 파트너로 두세요.
- DiagnosticsController.MessageOutputOptions
메시지 출력 옵션입니다.
- Display
디스플레이 장치입니다.
- DisplayEmulator
회전 에뮬레이터입니다.
- EasyARCameraImageRendererFeature
URP를 사용할 때 AR 장치 카메라 이미지를 렌더링하는 데 사용되는 render feature입니다. 이 render feature는 forward renderer asset의 renderer feature 목록에 추가해야 합니다.
- EasyARController
EasyAR Sense Engine 클래스의 정적 프록시로, 주로 Sense 초기화에 사용됩니다.
- EasyARSettings
구성 information for the EasyAR Sense Unity Plugin.
- EasyARSettings.LibVariantConfig
EasyAR Sense 라이브러리 변형 구성입니다.
- EasyARSettings.Permission
권한 구성입니다.
- EasyARSettings.TargetGizmoConfig
Target의 Gizmos 구성입니다.
- EasyARSettings.UnityXROptions
Unity XR Framework와 관련된 구성 옵션입니다.
- EasyARSettings.UnityXROptions.AutoSwitchOptions
AR Foundation 객체와 같은 Unity XR 객체를 자동 전환하는 옵션입니다.
- EasyARSettings.Workaround
Workaround for Unity.
- EditorCameraDeviceFrameSource
에디터에서 easyar.CameraDevice를 제어하는 MonoBehaviour이며, 개발 진단 용도로만 제공됩니다. 일반적으로 이 frame source를 사용할 때 보이는 모든 효과는 장치에서 실행할 때와 다릅니다. AR 효과와 관련 없는 애플리케이션 로직 개발에는 사용할 수 있지만, 감지, 추적, 위치 추정 같은 AR 실행 효과를 판단하는 데 사용할 수는 없습니다.
이 frame source는 모션 추적 장치가 아니며 ARSession에서 모션 데이터를 출력하지 않습니다.
- EventDumpRecorder
이벤트 덤프 레코더입니다. 일부 핵심 진단 정보를 EED 파일에 저장하는 데 사용됩니다. 이 클래스의 모든 멤버는 스레드로부터 안전합니다.
- ExplicitAddressAccessData
접근 주소를 입력해야 하는 EasyAR 클라우드 서비스 인증 데이터입니다.
- ExternalDeviceFrameSource
외부 장치를 나타내는 frame source입니다. 일반적으로 camera 렌더링과 장치 추적이 모두 장치 SDK에 의해 수행되는 head-mounted 장치를 나타냅니다.
ExternalDeviceFrameSource의 하위 타입을 상속하여 사용자 정의 카메라를 구현할 수 있지만, ExternalDeviceFrameSource에서 직접 상속할 수는 없습니다. 사용자 정의 카메라는 일반적으로 새 장치 또는 새로운 데이터 입력 방식을 나타냅니다.
사용자 정의 카메라 또는 헤드셋에서 Personal Edition license, 평가판 XR license, 평가판 Mega 서비스 같은 평가판 제품을 사용할 때, EasyAR Sense는 매번 시작 후 고정된 제한 시간 동안 응답을 멈춥니다.
- ExternalDeviceMotionFrameSource
motion tracking 기능을 가진 외부 디바이스를 나타내는 frame source 입니다. 일반적으로 head-mounted device 를 나타내며, camera rendering 과 device tracking 은 모두 디바이스 SDK 에 의해 완료됩니다.
이 frame source 는 motion tracking 디바이스이며 ARSession 에서 모션 데이터를 출력합니다.
이를 상속하여 headset 같은 디바이스 입력을 구현할 수 있지만 motion tracking 기능은 직접 구현해야 합니다. EasyAR 의 motion tracking 은 외부 디바이스에서 직접 사용할 수 없습니다. 하드웨어나 다른 곳에서 이미지와 pose 데이터를 직접 가져와 EasyAR 에 입력해야 합니다. EasyAR 는 이러한 데이터를 가져오는 기능을 제공하지 않지만, 데이터를 EasyAR 에 입력한 후 EasyAR 기능을 실행하는 기능을 제공합니다.
personal license, trial XR license, trial Mega service 같은 trial 제품을 custom camera 또는 headset 에서 사용할 때 EasyAR Sense 는 매번 시작 후 고정된 제한 시간 동안 응답을 중지합니다.
- ExternalDeviceRotationFrameSource
3DOF rotation tracking 기능을 가진 외부 디바이스를 나타내는 frame source 입니다. 일반적으로 head-mounted device 를 나타내며, camera rendering 과 device tracking 은 모두 디바이스 SDK 에 의해 완료됩니다.
이 frame source 는 3DOF rotation tracking 디바이스이며 ARSession 에서 회전 데이터를 출력합니다.
이를 상속하여 headset 같은 디바이스 입력을 구현할 수 있지만 tracking 기능은 직접 구현해야 합니다. EasyAR 의 3DOF rotation tracking 은 외부 디바이스에서 직접 사용할 수 없습니다. 하드웨어나 다른 곳에서 이미지와 회전 데이터를 직접 가져와 EasyAR 에 입력해야 합니다. EasyAR 는 이러한 데이터를 가져오는 기능을 제공하지 않지만, 데이터를 EasyAR 에 입력한 후 EasyAR 기능을 실행하는 기능을 제공합니다.
personal license, trial XR license, trial Mega service 같은 trial 제품을 custom camera 또는 headset 에서 사용할 때 EasyAR Sense 는 매번 시작 후 고정된 제한 시간 동안 응답을 중지합니다.
- ExternalFrameSource
외부 frame source는 EasyAR Sense에 내장되지 않은 frame source를 나타냅니다. AR Engine, AR Foundation 또는 헤드셋을 지원하는 데 사용되며, 자체 frame source를 정의하는 데도 사용할 수 있습니다.
ExternalFrameSource의 일부 하위 타입을 상속하여 사용자 정의 카메라를 구현할 수 있지만, ExternalFrameSource에서 직접 상속할 수는 없습니다. 사용자 정의 카메라는 일반적으로 새 장치 또는 새로운 데이터 입력 방식을 나타냅니다.
사용자 정의 카메라 또는 헤드셋에서 Personal Edition license, 평가판 XR license, 평가판 Mega 서비스 같은 평가판 제품을 사용할 때, EasyAR Sense는 매번 시작 후 고정된 제한 시간 동안 응답을 멈춥니다.
- ExternalImageStreamFrameSource
이미지 스트림 입력만 받는 외부 frame source 입니다.
이 frame source 는 motion tracking 디바이스가 아니며 ARSession 에서 모션 데이터를 출력하지 않습니다.
이를 상속하여 이미지 입력만 있는 custom camera 를 구현할 수 있습니다. headset 입력 구현에는 사용할 수 없습니다. USB 로 연결된 Android camera 와 같이 하드웨어나 다른 곳에서 이미지를 직접 가져와 EasyAR 에 입력해야 합니다. EasyAR 는 이러한 데이터를 가져오는 기능을 제공하지 않지만, 데이터를 EasyAR 에 입력한 후 EasyAR 기능을 실행하는 기능을 제공합니다.
personal license, trial XR license, trial Mega service 같은 trial 제품을 custom camera 또는 headset 에서 사용할 때 EasyAR Sense 는 매번 시작 후 고정된 제한 시간 동안 응답을 중지합니다.
- FixedAddressAPIKeyAccessData
API Key를 사용하는 EasyAR 클라우드 서비스 인증 데이터입니다. 관련 데이터는 EasyAR Developer Center(https://www.easyar.cn)에서 확인하십시오.
- FrameFilter
frame filter는 frame 입력 데이터를 사용하여 실행되는 EasyAR 기능을 나타냅니다.
- FramePlayer
A MonoBehaviour that controls easyar.InputFramePlayer and easyar.VideoInputFramePlayer in the scene and provides functional extensions in the Unity environment.
It is used when FrameSource is FramePlayer, or when "Frame Player" is selected in "Session Validation Tool" of the DiagnosticsController inspector in the editor.
- FrameRecorder
씬에서 easyar.InputFrameRecorder와 easyar.VideoInputFrameRecorder를 제어하는 MonoBehaviour이며 Unity 환경에서 기능 확장을 제공합니다.
자동으로 Assembly에 조립됩니다.
enabled로 녹화 시작과 종료를 제어할 수 있습니다.
- FrameRecorder.RecordFinishEvent
녹화 종료 이벤트입니다. 녹화 오류 시 콜백 매개변수는 false입니다.
- FrameRecorder.RecordStartEvent
녹화 시작 이벤트입니다. 콜백 매개변수는 녹화된 파일 이름입니다.
- FrameRecorder.RecordingConfiguration
녹화 구성입니다.
- FrameRecorder.RecordingConfiguration.FilePathInfo
파일 경로 정보입니다. 녹화된 파일 경로는 Type가 PersistentDataPath일 때 Path.Combine(Application.persistentDataPath, FolderPath, Name + extension)이고, Type가 Absolute일 때 Path.Combine(FolderPath, Name + extension)입니다. extension은 Format에 의해 결정됩니다.
- FrameSource
A frame source represents the data source of frame input data. It provides image data, or image data together with motion data.
You can implement a custom camera by inheriting from some subtypes of FrameSource, but you cannot directly inherit from FrameSource. A custom camera usually represents a new device or a new data input method.
When using trial products (Personal license, trial XR license, trial Mega service, etc.) on custom cameras or headsets, EasyAR Sense will stop responding for a fixed limited time after each startup.
- FrameSourceCamera
frame source 에서 camera 프레임 데이터를 제공하는 camera 입니다.
- Image
Image는 이미지 데이터를 저장하며 메모리의 image를 나타내는 데 사용됩니다. Image는 원시 데이터에 대한 접근을 byte array 방식으로 제공하고 width/height 등의 정보에 접근하는 인터페이스도 제공합니다. EasyAR Sense의 모든 버전에서 이미지 데이터에 접근할 수 있습니다. iOS에서는 다음과 같이 접근할 수 있습니다 :: #import
#import easyar_OutputFrame * outputFrame = [outputFrameBuffer peek]; if (outputFrame != nil) { easyar_Image * i = [[outputFrame inputFrame] image]; easyar_Buffer * b = [i buffer]; char * bytes = calloc([b size], 1); memcpy(bytes, [b data], [b size]); // use bytes here free(bytes); } Android에서는, :: import cn.easyar.*; OutputFrame outputFrame = outputFrameBuffer.peek(); if (outputFrame != null) { InputFrame inputFrame = outputFrame.inputFrame(); Image i = inputFrame.image(); Buffer b = i.buffer(); byte[] bytes = new byte[b.size()]; b.copyToByteArray(0, bytes, 0, bytes.length); // use bytes here b.dispose(); i.dispose(); inputFrame.dispose(); outputFrame.dispose(); }
- ImageHelper
이미지 헬퍼 클래스입니다.
- ImageMaterial
Image 렌더링에 사용되는 머티리얼입니다.
- ImageTarget
ImageTarget planar image의 target을 나타냅니다, which can be tracked by `ImageTracker`_. Values in ImageTarget must first be filled by create... methods before they can be read. Then, after it is successfully loaded into `ImageTracker`_ through `ImageTracker.loadTarget`_, it can be detected and tracked by `ImageTracker`_.
- ImageTargetController
씬에서 ImageTarget를 제어하는 MonoBehaviour이며 Unity 환경에서 기능 확장을 제공합니다. 로드에 성공한 후 Target을 사용하여 target 데이터에 접근할 수 있습니다.
target 데이터는 별도로 로드됩니다. 로드는 session이 성공적으로 시작된 후 발생하며, 수명 주기 동안 완전한 로드는 한 번만 발생합니다. 로드 중간에 session이 중지되면 다음 session 시작 후 다시 로드됩니다.
- ImageTargetController.ImageFileSourceData
target을 생성하기 위한 이미지 데이터입니다.
- ImageTargetController.SourceData
target 생성 데이터입니다.
- ImageTargetController.TargetDataFileSourceData
target을 생성하기 위한 target data입니다. Target 이름과 스케일은 etd 파일에 정의됩니다.
- ImageTargetController.TargetSourceData
ImageTarget target을 생성하기 위한 데이터입니다.
- ImageTargetController.Texture2DSourceData
target을 생성하는 Texture2D 데이터입니다.
- ImageTargetParameters
ImageTargetParameters 는 `ImageTarget`_ 생성에 필요한 파라미터를 나타냅니다.
- ImageTrackerFrameFilter
씬에서 easyar.ImageTracker를 제어하는 MonoBehaviour로, Unity 환경에서 기능 확장을 제공합니다.
- InertialCameraDeviceFrameSource
A MonoBehaviour that controls the InertialCameraDevice (InertialCameraDeviceFrameSource) in the scene and provides functional extensions in the Unity environment.
This frame source is a 5DOF (rotation + horizontal displacement) tracking device and outputs data in ARSession.
- InputFrame
Input frame. image, camera parameters, timestamp, world coordinate system 기준 camera transform, tracking status를 포함합니다. camera parameters, timestamp, world coordinate system 기준 camera transform, tracking status는 선택 사항이지만, 특정 알고리즘 컴포넌트는 입력에 대해 특정 요구 사항을 가질 수 있습니다.
- MegaBlockController
씬에서 MegaCloudFrameFilter에 의해 추적되는 block의 MonoBehaviour입니다.
서비스에 해당 block ID의 데이터가 포함되어 있고, 올바른 MegaBlockController가 MegaCloudFrameFilter에 로드된 경우에만 ARSession에서 정상적으로 사용할 수 있으며 콘텐츠가 올바르게 표시됩니다.
- MegaBlockController.BlockInfo
Block 정보입니다.
- MegaBlockController.BlockInfoSourceData
block을 생성하기 위한 정보 소스입니다.
- MegaBlockController.SourceData
target 생성 데이터입니다.
- MegaCloudFrameFilter
씬에서 Mega 클라우드 서비스 컴포넌트를 제어하는 MonoBehaviour 입니다.
- MegaGoBlockController
씬에서 MegaGoTrackerFrameFilter가 추적하는 block의 MonoBehaviour입니다.
- MegaGoBlockController.BlockInfo
Block 정보입니다.
- MegaGoBlockController.FileSourceData
target을 생성하기 위한 파일 데이터입니다.
- MegaGoBlockController.SourceData
target 생성 데이터입니다.
- MegaGoTrackerFrameFilter
씬에서 easyar.MegaGoTracker를 제어하는 MonoBehaviour이며 Unity 환경에서 기능 확장을 제공합니다.
- MegaGoTrackerLocalizationResponse
MegaGoTracker 로컬라이즈 응답입니다.
- MegaLandmarkFilterResponse
Mega Landmark filter 요청의 응답입니다.
- MegaLandmarkFilterWrapper
Mega Landmark VPS 클라우드 로컬라이즈 필터링 기능입니다.
- MegaLocalizationResponse
Mega localization 요청에 대한 응답입니다.
- MegaRequestTimeParameters
Mega 요청 시간 매개변수입니다.
- MegaTrackerFrameFilter
A MonoBehaviour 제어하고 easyar.MegaTracker in the scene and provides functional extensions in the Unity environment.
- MetaXRFrameSource
Custom frame source that connects Meta XR output to EasyAR input in the scene. Provides Meta XR support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
To use this frame source, Meta MRUK (Mixed Reality Utility Kit) is required. Configure Meta MRUK according to the official documentation.
- MotionInputData
모션 입력 데이터입니다. timestamp, 월드 좌표계 기준 transform 및 tracking 상태를 포함합니다.
- MotionTrackerFrameSource
A MonoBehaviour that controls easyar.MotionTrackerCameraDevice in the scene and provides functional extensions in the Unity environment.
This frame source is a motion tracking device and outputs motion data in ARSession.
- ObjectTarget
ObjectTarget은 3D object target을 나타내며 `ObjectTracker`_가 추적할 수 있습니다. ObjectTarget의 크기는 `obj` 파일에 의해 결정됩니다. `scale`을 수정하여 size를 변경할 수 있습니다. `scale`의 기본값은 1입니다. ObjectTarget이 `ObjectTracker.loadTarget`_를 통해 `ObjectTracker`_에 성공적으로 로드된 후 `ObjectTracker`_가 감지하고 추적할 수 있습니다.
- ObjectTargetController
씬에서 ObjectTarget를 제어하는 MonoBehaviour이며 Unity 환경에서 기능 확장을 제공합니다. 로드에 성공한 후 Target을 사용하여 target 데이터에 접근할 수 있습니다.
target 데이터는 별도로 로드됩니다. 로드는 session이 성공적으로 시작된 후 발생하며, 수명 주기 동안 완전한 로드는 한 번만 발생합니다. 로드 중간에 session이 중지되면 다음 session 시작 후 다시 로드됩니다.
- ObjectTargetController.ObjFileSourceData
target 을 만들기 위한 Obj 파일 데이터입니다.
- ObjectTargetController.SourceData
target 생성 데이터입니다.
- ObjectTargetController.TargetSourceData
ObjectTarget target을 생성하기 위한 데이터입니다.
- ObjectTargetParameters
ObjectTargetParameters 는 `ObjectTarget`_ 생성에 필요한 파라미터를 나타냅니다.
- ObjectTrackerFrameFilter
씬에서 easyar.ObjectTracker를 제어하는 MonoBehaviour로, Unity 환경에서 기능 확장을 제공합니다.
- PicoFrameSource
Custom frame source that connects Pico output to EasyAR input in the scene. It provides Pico support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
To use this frame source, ``PICO Unity Integration SDK`` is required. You need to configure PICO Unity Integration SDK according to the official documentation.
- RokidFrameSource
Custom frame source that connects Rokid output to EasyAR input in the scene. It provides Rokid support through the custom camera feature of EasyAR Sense.
This frame source is a motion tracking device and outputs motion data in ARSession.
To use this frame source, ``Rokid Unity OpenXR Plugin (com.rokid.openxr)`` is required. You need to configure Rokid Unity OpenXR Plugin (com.rokid.openxr) according to the official documentation.
- SenseLibrary
EasyAR Sense 라이브러리 정보를 가져오는 도구입니다.
- ServiceAccessData
EasyAR 클라우드 서비스 인증 데이터입니다.
- SessionReport
Session 보고서입니다. 컴포넌트 가용성 또는 session 손상 원인 등을 조회하는 데 사용됩니다.
- SessionReport.AvailabilityReport
가용성 보고서입니다.
- SessionReport.AvailabilityReport.DeviceListDownloadResult
장치 목록 다운로드 결과입니다.
- SessionReport.AvailabilityReport.Item
가용성 항목입니다.
- SessionReport.SessionBrokenException
Session 손상에 대한 구체적인 예외입니다.
- SparseSpatialMapBuildTargetController
씬에서 easyar.SparseSpatialMap 가 생성한 map 을 제어하는 MonoBehaviour 입니다.
- SparseSpatialMapBuilderFrameFilter
씬에서 easyar.SparseSpatialMap을 제어하는 MonoBehaviour로, easyar.SparseSpatialMap의 맵 구축 기능을 제공합니다.
- SparseSpatialMapController
씬에서 easyar.SparseSpatialMap에 의해 추적되는 map의 MonoBehaviour입니다.
- SparseSpatialMapController.MapManagerSourceData
map을 생성하기 위한 MapManager 소스입니다.
- SparseSpatialMapController.SourceData
target 생성 데이터입니다.
- SparseSpatialMapController.SparseSpatialMapInfo
희소 맵 정보입니다.
- SparseSpatialMapPointCloudRenderer
희소 공간 맵 포인트 클라우드를 파티클로 렌더링합니다.
- SparseSpatialMapPointCloudRenderer.PointCloudParticleParameter
포인트 클라우드 파티클 렌더링 매개변수입니다.
- SparseSpatialMapTrackerFrameFilter
씬에서 easyar.SparseSpatialMap을 제어하는 MonoBehaviour이며, easyar.SparseSpatialMap의 위치 추정 추적 기능을 제공합니다.
- SparseSpatialMapWorkerFrameFilter
씬에서 easyar.SparseSpatialMap 를 제어하고 Unity 환경에서 기능 확장을 제공하는 MonoBehaviour 입니다.
- SurfaceTargetController
씬에서 surface target 을 제어하는 MonoBehaviour 입니다. surface target 은 surface tracking 에서 camera 가 이동하는 기준 노드를 나타내는 가상 노드입니다.
- SurfaceTrackerFrameFilter
씬에서 easyar.SurfaceTracker 를 제어하고 Unity 환경에서 기능 확장을 제공하는 MonoBehaviour 입니다.
- Target
Target 은 EasyAR 에서 `ImageTracker`_ 또는 다른 알고리즘으로 추적할 수 있는 모든 target 의 기본 클래스입니다.
- TargetController
씬에서 추적 target을 제어하고 Unity 환경에서 기능 확장을 제공하는 MonoBehaviour입니다.
- ThreeDofCameraDeviceFrameSource
A MonoBehaviour that controls the 3DOF camera device (ThreeDofCameraDeviceFrameSource) in the scene and provides functional extensions in the Unity environment.
This frame source is a 3DOF rotation tracking device and outputs data in ARSession.
- TokenAccessData
token을 사용하는 EasyAR 클라우드 서비스 인증 데이터입니다. 관련 데이터는 EasyAR Developer Center(https://www.easyar.cn)에서 확인하십시오.
- UnityPackage
패키지 정보를 가져오는 도구입니다.
- VideoRecorder
Um/Un MonoBehaviour que scene에서 Recorder를 제어하고 Unity 환경에서 기능 확장을 제공합니다.
사용자는 video recording 내용에 대해 완전한 제어권을 가집니다. The screen recording feature does not silently record the screen or camera output; recorded video data must be continuously passed in through RecordFrame(RenderTexture).
Note: Available only in non-Enterprise Sense on Android GLES2/3 with multithreaded rendering disabled.
- VideoRecorder.AudioProfiles
오디오 프로필입니다.
- VideoRecorder.VideoProfiles
비디오 프로필입니다.
- VisionOSARKitFrameSource
A MonoBehaviour that controls the VisionOS ARKit camera device (easyar.VisionOSARKitCameraDevice) in the scene and provides functional extensions in the Unity environment.
This frame source is a motion tracking device and outputs motion data in ARSession.
When using trial products (Personal license, trial XR license, trial Mega service, etc.) on custom cameras or headsets, EasyAR Sense will stop responding for a fixed limited time after each startup.
- XREALFrameSource
A MonoBehaviour that controls the XREAL camera device (easyar.XREALCameraDevice) in the scene and provides functional extensions in the Unity environment.
This frame source is a motion tracking device and outputs motion data in ARSession.
When using trial products (Personal license, trial XR license, trial Mega service, etc.) on custom cameras or headsets, EasyAR Sense will stop responding for a fixed limited time after each startup.
- XROriginChildController
씬에서 제어가 필요한 XROrigin 자식 오브젝트의 루트 노드 역할을 하는 MonoBehaviour 입니다. 이 노드가 씬에 수동으로 설정되지 않은 경우 필요할 때 자동으로 생성됩니다.
XROrigin 은 motion tracking 시스템에서 camera 가 이동하는 기준 노드를 나타내는 가상 노드이며, 자동으로 선택되거나 생성됩니다. Unity XR 프레임워크의 XROrigin 이 있으면 그것이 선택됩니다.
구조체
- ARSessionFactory.FrameSourceSortMethod
frame source의 정렬 방법입니다.
- BlockInfo
dense reconstruction으로 얻은 모델은 triangle mesh로 표현되며 mesh라고 합니다. mesh는 자주 업데이트되므로 효율을 보장하기 위해 전체 재구성 모델의 mesh는 많은 mesh block으로 분할됩니다. 하나의 mesh block은 한 변의 길이가 약 1미터인 큐브로 구성되며 vertex와 index 등의 요소가 있습니다.
BlockInfo는 mesh block의 내용을 설명합니다. 여기서 (x,y,z)는 mesh block의 index입니다. (x,y,z)에 각 mesh block의 물리적 크기를 곱하면 이 mesh block의 origin이 world coordinate system에서 가지는 좌표를 얻을 수 있습니다. 표시해야 하는 부분은 world에서 mesh block의 위치를 기준으로 미리 필터링하여 렌더링에 필요한 시간을 절약할 수 있습니다. </p>
- LocationResult
위치 판독값입니다. latitude, longitude의 단위는 도입니다. altitude의 단위는 미터입니다. horizontalAccuracy는 수평 방향 정확도이며, 단위는 미터입니다. verticalAccuracy는 중력 방향 정확도이며, 단위는 미터입니다.
- Matrix33F
3차 정방 행렬입니다. 데이터 배열 방식은 row-major입니다.
- Matrix44F
4차 정방 행렬입니다. 데이터는 row-major 순서로 배열됩니다.
- ProximityLocationResult
근접 위치 판독값입니다. x, y, z의 단위는 미터입니다. 원점은 map block 원점입니다. y는 위쪽입니다. accuracy의 단위는 미터입니다. timestamp 및 validTime의 단위는 초입니다. is2d는 y를 사용하지 않는지 여부를 나타냅니다.
- Vec2F
2차원 float 벡터입니다.
- Vec2I
2차원 int 벡터입니다.
- Vec3F
3차원 float 벡터입니다.
- Vec4F
4차원 float 벡터입니다.
인터페이스
- IDisplay
디스플레이 장치 인터페이스입니다.
열거형
- ARSession.ARCenterMode
AR center mode.
*Note: There are four center modes in EasyAR Sense Unity Plugin. Similar concepts may not exist in other AR frameworks such as AR Foundation; usually, the relative relationship behavior between objects in those frameworks is consistent with the *SessionOrigin* mode here.*
The relative transform between Camera and some AR components is controlled by session. One of the objects is called CenterObject; it stays still in the scene, and other objects move relative to this CenterObject. This object is selected according to the value of CenterMode.
CenterObject represents the object that does not move in Unity space, or the parent node of that object. It may be Origin, Camera, or a `target`. A `Target` can be an object containing the TargetController component. When using Sparse Spatial Map and EasyAR Mega, the actual center GameObject is the specific localized map or block object under the root node, and CenterObject is the parent node of this object.
In FirstTarget or SpecificTarget mode, when a `target` is not recognized or is lost in a frame, CenterObject may become another `target`. If no `target` can be found in the frame, CenterObject degrades in order to the center of the first available mode among SessionOrigin and Camera.
The relative position relationship between `Target` and Camera is controlled by the current session. The relative position relationship between Origin and Camera is also controlled by the current session when IsCameraUnderControl is true. When IsCameraUnderControl is false, it is not controlled by the current session and is usually controlled by another AR framework such as AR Foundation.
- ARSession.ARHorizontalFlipMode
수평 미러 렌더링 모드입니다.
수평 뒤집기 상태에서는 카메라 이미지가 미러 표시됩니다. 객체 추적이 정상적으로 동작하도록 3D 객체 렌더링에도 영향을 주므로 두 가지 방식이 제공됩니다. 수평 뒤집기는 이미지 추적 또는 객체 추적과 같은 객체 인식 알고리즘에서만 동작합니다.
- ARSession.SessionState
Session 상태입니다.
- ARSessionFactory.ARSessionPreset
ARSession preset.
- ARSessionFactory.FrameSourceSortMethod.ARCoreSortMethod
ARCore/ARCoreARFoundation frame source의 정렬 방법입니다.
- ARSessionFactory.FrameSourceSortMethod.ARKitSortMethod
ARKit/ARKitARFoundation frame source의 정렬 방법입니다.
- ARSessionFactory.FrameSourceSortMethod.MotionTrackerSortMethod
EasyAR motion tracker/System SLAM (ARCore, ARKit, AREngine) frame source의 정렬 방법입니다.
- ActiveController.Strategy
activeSelf의 제어 전략입니다.
- AssembleOptions.FrameFilterSelection
FrameFilter를 선택하기 위한 선택 전략입니다.
- AssembleOptions.FrameSourceSelection
FrameSource를 선택하기 위한 선택 전략입니다.
- AxisSystemType
축 시스템 유형입니다.
- CameraDeviceDisplay.DisplayMode
표시 모드입니다.
- CameraDeviceFrameSource.CameraDeviceOpenMethod
easyar.CameraDevice 여는 방식입니다.
- CameraDeviceType
카메라 장치 유형입니다.
- CameraModelType
카메라 모델 유형입니다.
- CameraTransformType
카메라 변환 유형입니다.
- CloudRecognizerFrameFilter.ServiceAccessSourceType
서비스 액세스 데이터 소스 유형입니다.
- DiagnosticsController.DeveloperModeSwitchType
개발자 모드 스위치 유형입니다.
- DiagnosticsController.MessageOutputMode
메시지 출력 모드입니다.
- DiagnosticsController.SessionDumpOutputMode
세션 상태 덤프 출력 모드입니다.
- DisplayEmulator.RotationMode
회전 모드입니다.
- EasyARSettings.ARCoreType
ARCore SDK 구성입니다.
- EasyARSettings.AREngineType
AREngine SDK 구성입니다.
- EasyARSettings.LibVariantConfig.AndroidVariant
EasyAR Sense Android 라이브러리 변형입니다.
- EasyARSettings.LibVariantConfig.IOSVariant
EasyAR Sense iOS 라이브러리 변형입니다.
- EasyARSettings.LibVariantConfig.VisionOSVariant
EasyAR Sense visionOS 라이브러리 변형입니다.
- ExternalDeviceFrameSource.DeviceOriginType
디바이스 origin 유형입니다.
session origin 은 SessionOrigin center mode 에서 transform 기준점을 설정하는 데 사용되며, 다른 center mode 에서는 camera-origin 쌍을 함께 변환하는 데 사용됩니다. SDK 가 Unity XR 프레임워크를 기반으로 설계되었다면 XR.CoreUtils.XROrigin 에 익숙할 것입니다. Origin 은 XR.CoreUtils.XROrigin 과 비슷한 것이며, 렌더링 camera 는 그 자식 노드입니다. 사용자는 camera-origin 쌍이 정의하는 로컬 모션 관계를 잃지 않고 scene 에서 origin 을 이동할 수 있습니다. EasyAR 는 camera-origin 쌍을 사용하여 target center mode 를 처리합니다. 이는 Mega 실행 시 특히 유용합니다. Mega 는 지구 전체의 현실 세계 좌표계를 정의하는 반면, camera-origin 쌍은 일반적으로 특정 시작점 기준 VIO 좌표계를 정의하기 때문입니다.
- FrameRecorder.InternalFormat
내부 데이터 형식입니다.
- FrameRecorder.RecorderStatus
녹화 상태입니다.
- MegaApiType
MEGA API 유형입니다.
- MegaGoTargetLoadStatus
Mega Go target 로드 상태입니다.
- MegaGoTrackerError
MegaGoTracker 오류입니다.
- MegaGoTrackerOutputUpdateStatus
MegaGoTracker 위치 확인 응답이 출력에 적용한 업데이트 상태입니다.
- MegaGoTrackerStatus
MegaGoTracker 입력 처리 상태입니다.
- MegaInputFrameLevel
Mega 기능을 사용할 때 등가 CameraTransformType에 해당하는 입력 프레임의 등가 자유도입니다.
- MegaLocationInputMode
Mega 위치 입력 모드입니다.
- MegaServiceAccessSourceType
Mega 서비스 액세스 데이터 소스 유형입니다.
- MotionTrackingStatus
장치 모션 추적의 품질을 설명합니다.
- PathType
경로 유형입니다.
- PixelFormat
PixelFormat은 이미지 픽셀 형식을 나타냅니다. 모든 형식의 픽셀 방향은 왼쪽에서 오른쪽, 위에서 아래입니다.
- SessionReport.AvailabilityReport.DeviceListDownloadStatus
다운로드 목록의 상태입니다.
- SessionReport.AvailabilityReport.DeviceListDownloadType
다운로드 목록의 컴포넌트 유형입니다.
- SessionReport.SessionBrokenReason
Session 손상 원인입니다.
- SparseSpatialMapWorkerFrameFilter.ServiceAccessSourceType
서비스 액세스 데이터 소스 유형입니다.
- StorageType
StorageType은 이미지, json 파일, 비디오 또는 기타 파일의 저장 위치를 나타냅니다. StorageType은 파일이 저장되는 루트 디렉터리를 지정합니다. 모든 관련 인터페이스에서 이 루트 디렉터리를 기준으로 하는 상대 경로를 사용할 수 있습니다.
- VideoRecorder.RecordProfile
비디오 프로필입니다.
- VideoRecorder.RecordZoomMode
비디오 줌 모드입니다.
- VideoRecorder.VideoOrientation
화면 녹화 비디오 방향입니다.
- VideoRecorder.VideoSize
비디오 크기입니다.
- WritablePathType
파일 출력 경로 유형입니다.