'Declaration Public Overloads Shared Function GetEntitiesStats( _ ByVal entityList As IList(Of Entity), _ ByVal blocks As BlockKeyedCollection, _ ByRef entitiesCount As Integer, _ ByRef verticesCount As Integer, _ ByRef trianglesCount As Integer, _ Optional ByVal blocksDetails As Dictionary(Of Block,Dictionary(Of Type,Integer)) _ ) As Dictionary(Of Type,Integer)
public static Dictionary<Type,int> GetEntitiesStats( IList<Entity> entityList, BlockKeyedCollection blocks, out int entitiesCount, out int verticesCount, out int trianglesCount, Dictionary<Block,Dictionary<Type,int>> blocksDetails )
Parameters
- entityList
- The collection of entities
- blocks
- The blocks to process.
- entitiesCount
- The count of all the entities.
- verticesCount
- The count of all the vertices.
- trianglesCount
- The count of all the triangles.
- blocksDetails
- The dictionary with the entities details about blocks. Optional, can be null/Nothing.
Return Value
The dictionary with the count of each entity's type.