기술 자료

Unity Engine

Unity Engine

TryGetMeshInfos(List<MeshInfo>)

Gets information about every Mesh the system currently tracks.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public bool TryGetMeshInfos(List<MeshInfo> meshInfosOut)

Parameters

meshInfosOut

A List of MeshInfos to be filled. Passing null will throw an ArgumentNullException.

Returns

Type

Description

boolTrue if the List was populated.

Remarks

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