Version: 2023.2
public bool TryGetMeshInfos (List<MeshInfo> meshInfosOut);

参数

meshInfosOut 要填充的 MeshInfonull。传递 null 将会抛出 /ArgumentNullException/。

返回

bool 如果填充了 /List/,则为 /true/。

描述

获取系统当前跟踪的每个网格的相关信息。

Use this to determine which meshes have been added, changed, or removed.

Note: This method provides state changes since the last time the method was called. Typically, a single system should manage this information.

Additional resources: XRMeshSubsystem.GenerateMeshAsync