Log in or register to post comments

How to Change VirtualButton Sensitivity at runtime

June 29, 2021 - 10:49am #1

Hey all, sorry if this is a repost, im relatively new to working with Vuforia.

I was just wondering how do you change the button sensitivity of a virtual button created at runtime.

I can see theres a function 'bool virtualButton.UpdateSensitivity()' but im not sure how to use this.

When looking at the API for the function it just says Update Sensitivity in Native. I have no idea what this means or how to use it. There are no parameters to send in to change between "LOW" "MEDIUM" and "HIGH".

I can easily change the sensitivity of a virtual button from editor, but im dynamically creating decks from multiple databases so doing it via editor isnt realistic.

Any help with this would be great! Thanks!

How to Change VirtualButton Sensitivity at runtime

July 5, 2021 - 12:10am #2

Hi,

Have you tried using updateSensitivity('HIGH') or something similar to change the setting?

Thank you.

Vuforia Engine Support

Log in or register to post comments