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

XRMeshSubsystem

class in UnityEngine.Experimental.XR

/

継承:Experimental.IntegratedSubsystem

マニュアルに切り替える

説明

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 関数

GenerateMeshAsyncRequest that the mesh with TrackableId meshId gets generated. onMeshGenerationComplete is called when generation is complete.
TryGetMeshInfosGet information about every mesh tracked by the system.

継承メンバー

Public 関数

DestroyDestroys this instance of a subsystem.
StartStarts an instance of a subsystem.
StopStops an instance of a subsystem.