Hello,
I'm writing an exporter for AS to our game engine. So far so good, AS is very impressive.
I'm down to one last thing: outputting the keyframes for nested layers.
1. When I call "HasKey" on an animation channel, does it return true if somewhere up in the hierarchy a keyframe was set even though the layer itself doesn't have a key for that frame? When I tried it there was no keyframe for the child, so I assume the answer is no, but I want to check in case I might have did it wrong.
2. Assuming the answer is no to #1, is the best way then to drill down to the child layer, then traverse up the parent tree looking for HasKey to find each and every key applied to the lowest level child?
3. As part of #2 I need to get the final transform and was pleased to find GetFullTransform but this returns a LM_Matrix. Is there any way to get the values out of a matrix? If so, how?
Thanks in advance for any help!
Brett
Determining net child layer values?
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 17
- Joined: Wed Mar 10, 2010 1:37 pm