2008 04 29Core Animation is mostly 2D
Being a layer engine, Core Animation doesn't care much about 3D. Yes, you can setup a projection transform but it will be limited :
-
myLayer.transform = projectionTransformonlymyLayerwill have perspective, not itssublayers -
myLayer.sublayerTransform = projectionTransformonlymyLayer'ssublayerswill have perspective, notmyLayernor itssublayers'ssublayers
If you want a CALayer to have perspective and one of its sublayers to also have perspective, make sure they both have a perspective transform applied.
CALayers as if they were living in a 3D world, but Core Animation is not a mini OpenGL to handle textured rectangles. I wish it were, though.