Which transform space are PF_PathVertex provided in?
How can I get the path vertices for the text layer my plugin is applied to in 3D world space, in a way that also works when the text layer is parented to another layer? I know I can use AEGP_GetLayerToWorldXform() to convert from layer space to world space, however the vertices returned by PF_PathDataSuite don't seem to be in layer space even though the SDK guide claims that they "are in the layer’s coordinate space" (https://ae-plugins.docsforadobe.dev/effect-details/working-with-paths.html). What it returns doesn't match with the definition of layer space used in places like expressions when you're using layer space transforms (https://ae-expressions.docsforadobe.dev/layer-space.html).
For example, if I change the xy-position of the text layer or change the Z Rotation property, PF_PathDataSuite returns translated and rotated vertices, whereas if it returned vertices in layer space the vertices shouldn't have changed. When you do path.points() in an expression, it actually does return them in layer space, i.e., the points returned by path.points() are not dependent on the layer's transform properties, whereas they are in the case of PF_PathDataSuite.
I can't figure out what space PF_PathDataSuite is actually returning the vertices in. It seems to be some weird amalgamation of comp space and layer space - comp space because it is affected by 2D transforms like xy-translation, shear from parented transforms and Z Rotation, but layer space because it isn't affected by z-translation, the Orientation property nor the X/Y Rotation properties.
So to recap, I'm looking for is a way to convert whats returned by PF_PathDataSuite into layer space, i.e. match what path.points() returns in an expression, so that I can then convert that into world space.
