Comment puis-je connaître les valeurs dans CABasicAnimation chemin d'accès clé

Je trouve un peu de code comme ceci:

CABasicAnimation *anim = [CABasicAnimation animation];
anim.keyPath = @"transform.scale";
anim.fromValue = [NSNumber numberWithFloat:1.0];
anim.toValue = [NSNumber numberWithFloat:0];
anim.removedOnCompletion = NO;
anim.fillMode = kCAFillModeBoth;
anim.delegate = self;
[self.view.layer addAnimation:anim forKey:@"scaleOut"];

et

anim.keyPath = @"transform.rotation.x";

Autant que je sache, chemin d'accès clé en chaîne, la méthode invoke. "transformer les.échelle" pour CALayer est aLayer.transformer.l'échelle. "transformer" est une propriété de CALayer, "échelle" est une propriété de transformer. Mais la propriété de transformer en CALayer est CATransform3D.

Il n'y a pas de propriété appelée "échelle" ou "rotation" dans CATransform3D.

Ma Question est:
Comment "échelle" et "rotation" sont identifiés par le chemin d'accès clé ?

InformationsquelleAutor Sailing | 2011-03-28