Skip to main content
P
22h ago

Use C++ API to modify Path's collection of vertices?

Is it possible to add/remove vertices from a path (i.e. rive::Path::m_Vertices), using the C++ API or other mechanism?
I am able to build and run the player test code:
https://github.com/rive-app/rive-runtime/blob/main/tests/player/player.cpp

I see the how rive::File is imported, and I am able to iterate through the artboard dependents() hierarchy. Is there a way to access a modifiable hierarchy? Or is this proprietary to the Rive editor?

Join the discussion
Join Rive to reply J