简体   繁体   中英

How I can add username text to my Spark AR filter?

I would like to add the username text in my Spark AR filter. I created a 2dText object and I would like to change that text into the username of the person that are using the filter. How to do that?

Filters do not get access to User Name.

You can instead add an Editable Text element and ask your users to enter their names while using the effect

https://sparkar.facebook.com/ar-studio/learn/documentation/building-your-scene/2d/editable-text/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM