Real example of ProceduralMesh for 4.10

I would like to see a use case example of ProceduralMesh. I am trying to dynamically create a mesh of cubes.