You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to figure out how to use Lottie as a texture in react-native. Example
If it were in react (web), I could make use of LottieLoader and pass the canvas element as the image prop for a Texture, but in react-native there's no html element canvas to pass. Is there any helper I can use for this, similar to useVideoTexture ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to figure out how to use Lottie as a texture in react-native.
Example
If it were in react (web), I could make use of LottieLoader and pass the canvas element as the image prop for a Texture, but in react-native there's no html element canvas to pass. Is there any helper I can use for this, similar to useVideoTexture ?
Beta Was this translation helpful? Give feedback.
All reactions