像我们使用 ARCore XR Plugin For Unity 或者 ARKit XR Plugin For Unity 都有远程调试功能方便我们调试代码。而ARFoundation远程调试功能,正在开发当中。所以从 UnityAssetstore 中购买了一个第三方开发的 AR Foundation Editor Remote 远程调试工具,他可以通过Wi-Fi或有线连接支持AR功能的移动设备上进行调试。
(课程最后提供 AR Foundation Editor Remote 下载链接)
一、官方介绍
⌛ Fast iterations are crucial for development. Unity Editor does not currently support AR mocking and testing so you\'re required to make a new build after any minor change. And builds take a looooong time even for small projects.
Now you have the solution!
AR Foundation Editor Remote is an Editor extension that allows you to transmit AR data from AR device to Unity Editor. Test AR projects right in the Editor!
⚡ Features ⚡
• Precisely replicates the behavior of a real AR device in Editor.
• Supports all AR Foundation platforms. Extensively tested with ARKit and ARCore.
• Plug-and-play: no additional scene setup is needed, just run your AR scene in Editor with AR Companion runnning on your AR device. Extensively tested with scenes from AR Foundation Samples repository.
• Multi-touch input remoting: test multi-touch input in Editor or simulate touch with mouse (see Limitations).
• Written in pure C# with no third party libraries or native code. Adds no performance overhead in production. Full source code is available.
• Connect any AR Device to Windows PC or macOS via Wi-Fi: iOS + Windows PC, Android + macOS... any variation you can imagine!
• Supports wired connection on iOS + macOS.
⚡ Supported AR subsystems ⚡
• Meshing (ARMeshManager): physical environment mesh generation, ARKit mesh classification support.
• Occlusion (AROcclusionManager): ARKit depth/stencil human segmentation, ARKit/ARCore environment occlusion (see Limitations).
• Face Tracking: face mesh, face pose, eye tracking, ARKit Blendshapes.
• Body Tracking: ARKit 2D/3D body tracking, scale estimation.
• Plane Tracking: horizontal and vertical plane detection, boundary vertices, raycast support.
• Image Tracking: supports mutable image library and replacement of image library at runtime (see Limitations on Android).
• Depth Tracking (ARPointCloudManager): feature points, raycast support.
• Camera: camera background video (see Limitations), camera position and rotation, facing direction, camera configurations.
• Anchors (ARAnchorsManager): add/remove anchors, attach anchors to detected planes.
• Session subsystem: Pause/Resume, receive Tracking State, set Tracking Mode (see Limitations).
• Light Estimation: Average Light Intensity, Brightness, and Color Temperature; Main Light Direction, Color, and Intensity; Exposure Duration and Offset; Ambient Spherical Harmonics.
• Raycast subsystem: raycast against detected planes and cloud points (see Limitations).