This version of Unity is unsupported.

XRMeshSubsystem.TryGetMeshInfos

Declaration

public bool TryGetMeshInfos(List<MeshInfo> meshInfosOut);

Parameters

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

Returns

bool True if the List was populated.

Description

Gets information about every Mesh the system currently tracks.

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.

See Also: XRMeshSubsystem.GenerateMeshAsync