In the Scanner app, there's the colorizeMesh function that adds colors to the mesh from the camera key frames.
I see that it uses the STColorizer from the SDK for that.
What I'm trying to do is to have my own colorizing process on the mesh, but my mesh doesn't have the PerVertexColors array.
How can I allocate the colors array in the STMesh to be used by me?
Or, is there another way that I can set a per-face-color or per-vertex-color to my mesh?