Table of Contents

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 のアセンブルオプションです。

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.TargetGizmoConfig.ImageTargetConfig

ImageTargetGizmos 設定です。

EasyARSettings.TargetGizmoConfig.ObjectTargetConfig

ObjectTargetGizmos 設定。

EasyARSettings.UnityXROptions

Unity XR Framework に関連する設定項目です。

EasyARSettings.UnityXROptions.AutoSwitchOptions

AR Foundation などの Unity XR オブジェクトを自動切り替えするためのオプション。

EasyARSettings.UnityXROptions.AutoSwitchOptions.EditorOptions

編集モードオプション。

EasyARSettings.UnityXROptions.AutoSwitchOptions.PlayerOptions

実行モードオプション。

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 によって行われます。

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.InputFrameRecordereasyar.VideoInputFrameRecorder を制御する MonoBehaviour で、Unity 環境向けの機能拡張を提供します。

これは自動的に Assembly に組み込まれます。

enabled で録画の開始と終了を制御できます。

FrameRecorder.RecordFinishEvent

録画終了イベント。録画でエラーが発生した場合、コールバックパラメーターは false です。

FrameRecorder.RecordStartEvent

録画開始イベント。コールバックパラメーターは録画ファイル名です。

FrameRecorder.RecordingConfiguration

録画設定。

FrameRecorder.RecordingConfiguration.FilePathInfo

ファイルパス情報。録画ファイルパスは、TypePersistentDataPath の場合 Path.Combine(Application.persistentDataPath, FolderPath, Name + extension)、TypeAbsolute の場合 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 平面 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 のデータが含まれ、正しい MegaBlockControllerMegaCloudFrameFilter にロードされている場合にのみ、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

scene 内で Pico の出力を EasyAR input に接続する custom frame source です。EasyAR Sense の custom camera 機能を通じて Pico サポートを提供します。

この frame source は motion tracking device であり、ARSession 内で motion data を出力します。

この frame source を使用するには ``PICO Unity Integration SDK`` が必要です。公式ドキュメントに従って PICO Unity Integration SDK を設定する必要があります。

PoseUtility
RefBase
RokidFrameSource

scene 内で Rokid の出力を EasyAR input に接続する custom frame source です。EasyAR Sense の custom camera 機能を通じて Rokid サポートを提供します。

この frame source は motion tracking device であり、ARSession 内で motion data を出力します。

この frame source を使用するには ``Rokid Unity OpenXR Plugin (com.rokid.openxr)`` が必要です。公式ドキュメントに従って Rokid Unity OpenXR Plugin (com.rokid.openxr) を設定する必要があります。

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 の内容を完全に制御できます. 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 で得られたモデルは三角形メッシュで表され、mesh と呼ばれます。mesh は頻繁に更新されるため、効率を確保するために、再構築モデル全体の mesh は多数の mesh block に分割されます。mesh block は一辺がおよそ 1 メートルの立方体で構成され、その中に vertex や index などの要素があります。

BlockInfo は mesh block の内容を記述します。ここで (x,y,z) は mesh block のインデックスです。(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 順に配置されます。

Optional<T>
ProximityLocationResult

近接位置読み取り。 x、y、z の単位はメートルです。原点はマップブロック原点です。y は上向きです。 accuracy の単位はメートルです。 timestamp、validTime の単位は秒です。 is2d は y を使用しないかどうかを示します。

Unit
Vec2F

2 次元 float ベクトル。

Vec2I

2 次元 int ベクトル。

Vec3F

3 次元 float ベクトル。

Vec4F

4 次元 float ベクトル。

インターフェース

IDisplay

表示デバイスインターフェース。

列挙型

ARCoreCameraDeviceFocusMode
AREngineCameraDeviceFocusMode
ARKitCameraDeviceFocusMode
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 オブジェクトのレンダリングにも影響するため、2 つの異なる方式が提供されます。水平反転は、画像トラッキングやオブジェクトトラッキングなどのオブジェクト認識アルゴリズムでのみ動作します。

ARSession.SessionState

Session の状態。

ARSessionFactory.ARSessionPreset

ARSession プリセット.

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 の制御ストラテジー。

AndroidCameraApiType
AssembleOptions.FrameFilterSelection

FrameFilter を選択するための選択戦略。

AssembleOptions.FrameSourceSelection

FrameSource を選択するための選択戦略。

AxisSystemType

座標軸システムタイプ。

CameraDeviceDisplay.DisplayMode

表示モード。

CameraDeviceFocusMode
CameraDeviceFrameSource.CameraDeviceOpenMethod

easyar.CameraDevice の開き方。

CameraDevicePreference
CameraDeviceType

カメラデバイスタイプ。

CameraModelType

カメラモデルタイプ。

CameraState
CameraTransformType

カメラ変換タイプ。

CloudRecognizationStatus
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 ペアで定義されるローカルなモーション関係を失うことなく、シーン内で origin を移動できます。EasyAR は camera-origin ペアを使用して target center mode を処理します。Mega を実行する場合、これは特に有用です。Mega では地球全体の現実世界座標系が定義される一方、camera-origin ペアは通常、ある起動点に対する VIO 座標系を定義するためです。

FrameRecorder.InternalFormat

内部データ形式。

FrameRecorder.RecorderStatus

録画ステータス。

ImageTrackerMode
InertialCameraDeviceFocusMode
LocalizationMode
LogLevel
MegaApiType

MEGA API タイプ。

MegaGoTargetLoadStatus

Mega Go target のロードステータス。

MegaGoTrackerError

MegaGoTracker エラー。

MegaGoTrackerOutputUpdateStatus

MegaGoTracker のローカライズ応答による出力更新状況。

MegaGoTrackerStatus

MegaGoTracker 入力処理ステータス。

MegaInputFrameLevel

Mega 機能を使用するときの入力フレームの、等価な CameraTransformType に対応する等価自由度。

MegaLandmarkFilterStatus
MegaLocationInputMode

Mega 位置入力モード。

MegaServiceAccessSourceType

Mega サービスアクセスデータソースタイプ。

MegaTrackerLocalizationStatus
MotionTrackerCameraDeviceFPS
MotionTrackerCameraDeviceFocusMode
MotionTrackerCameraDeviceQualityLevel
MotionTrackerCameraDeviceResolution
MotionTrackerCameraDeviceTrackingMode
MotionTrackingStatus

デバイスのモーショントラッキング品質を説明します。

OptionalTag
PathType

パスタイプ。

PermissionStatus
PixelFormat

PixelFormat は画像ピクセル形式を表します。すべての形式で、ピクセル方向は左から右、上から下です。

SessionReport.AvailabilityReport.AvailabilityStatus

可用性ステータス。

SessionReport.AvailabilityReport.DeviceListDownloadStatus

ダウンロードリストのステータス。

SessionReport.AvailabilityReport.DeviceListDownloadType

ダウンロードリストのコンポーネントタイプ。

SessionReport.SessionBrokenReason

Session 破損理由。

SparseSpatialMapWorkerFrameFilter.ServiceAccessSourceType

サービスアクセスデータソースタイプ。

StorageType

StorageType は、画像、json ファイル、動画、またはその他のファイルの保存場所を示します。 StorageType はファイル保存のルートディレクトリを指定します。関連するすべてのインターフェイスで、このルートディレクトリからの相対パスを使用できます。

ThreeDofCameraDeviceFocusMode
VideoRecorder.RecordProfile

動画プロファイル。

VideoRecorder.RecordZoomMode

動画ズームモード。

VideoRecorder.VideoOrientation

画面録画動画の向き。

VideoRecorder.VideoSize

動画サイズ。

WritablePathType

ファイル出力パスタイプ。