• Advertisement
Sign in to follow this  

How to write a custom CAValueFunction (iOS)?

This topic is 2624 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

New year, new question ;)

Speaking of iOS: I'm in the necessity to write a custom CAValueFunction (that computes a CATransform3D from an angle). The pre-defined functions are not sufficient, because I need to compute a product like
M[sub]1[/sub] * M[sub]2[/sub] * M[sub]3[/sub]
where just M[sub]2[/sub] is animated (by a kCAValueFunctionRotateY). A custom CAValueFunction would solve the problem smartly. However, it seems me from Apple's documentation, that writing a custom CAValueFunction is not wanted (by Apple, not by me ;)), because I can't find the description (of the API) how a value function works in detail. Has anybody here already done such a thing, please?

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement