Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of TrAnchor and TrOpacity. #499

Open
RocketTree opened this issue Nov 30, 2021 · 1 comment
Open

Implementation of TrAnchor and TrOpacity. #499

RocketTree opened this issue Nov 30, 2021 · 1 comment

Comments

@RocketTree
Copy link

Looks like setting the anchor and opacity properties are not implemented. I can see in the c api implementation they are explicitly not supported, so I guess that is also for the c++ api as well.

Having anchor implemented could be useful, but opacity can easily be worked around during later compositing.

To replicate load and animation and set either animation->setValue< rlottie::Property::TrAnchor >(... or animation->setValue< rlottie::Property::TrOpacity >(...

If you do not plan on implementing these then perhaps at least a note in the enum documentation that these are not supported.

Thanks.

@smohantty
Copy link
Contributor

We tried to add the dynamic property change (similar to airbnb API) as there was no real usecase didn't implement all the properties . you are right the opacity implementation should be trivial.
If you are interested can raise a patch for the same :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants