Get vertex information from animated mesh in c#?

Hi, I’ve been stuck on this for about a week, what I’m trying to do is get the each vertex position from an fbx model that is animating. I tried using vertex shaders, skinMeshRenderers. I can only get the vertex position of the mesh from the mesh filter or the skinrenderer.sharedMesh, but its not animating and in a T-pose. I read that the skinRenderer.bakemesh creates a snapshot of the current vertex positions from the animated mesh but it doesnt do anything or i’m not using it correctly.
Does anyone know how to get the vertex position?

I’ve found the solution soon after I posted this. The following post had the answer I was looking for by MarkD