Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 Swift 中链接三个CAtransform3D(旋转、缩放、翻译)?
CAtransform3D
我正在使用CATransform3DConcat ,但它只链接了 2 个转换
CATransform3DConcat
如果是,我该怎么做?如果没有,是否有任何“作弊”可以做到?
谢谢
假设您的转换被称为t1,t2和t3. 然后这样做:
t1
t2
t3
let t = CATransform3DConcat(t1, CATransform3DConcat(t2, t3))