I assumed that if I put in a specific time value in the function that it would return the bounding box at that moment in time. Is that not how it works?
That is how it works. Also note that the bounding box is given in layer space, so you have to do any calculations resulting from transforming or parenting the layer yourself.
Example: If you keyframe the source text of a text layer, the bounding box will change over time (since the content changes and hence its bounding box). If you move the layer by keyframing its position or parenting it, the source rect will not change, as it only changes in comp space but not in layer space.
Cheers, Mathias
Dr. Mathias Möhl Marlow 52 , 18551 Sagard, Germany Phone +49 (0)38302 - 88 75 61 info@mamoworld.com
|