Version: 2019.2
Experimental: this API is experimental and might be changed or removed in the future.

XRMeshSubsystem

class in UnityEngine.Experimental.XR

マニュアルに切り替える

説明

Allows external systems to provide dynamic meshes to Unity.

The XRMeshSubsystem enables external systems to provide dynamic meshes to Unity. The meshes are processed on background threads, including physics baking, so as not to block the main thread during execution. This is useful for that provide dynamic meshes during runtime, such as spatially-aware AR devices.

Public 関数

GenerateMeshAsyncRequests the generation of the Mesh with TrackableId meshId. Unity calls onMeshGenerationComplete when generation finishes.
TryGetMeshInfosGets information about every Mesh the system currently tracks.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961