How do I use OutlineEffect?

Hi all,

I’m trying to add outline by using OutlineEffect.js.
This is my test program.

There is no error.
But outline does not display.
What is my mistake?

I’ve update your code to the latest version (R115) and it seems to work fine:

Thank you Mugen87 for your correction.
It’s very helpful for me…
Is problem of my program is a arguments of constructor?

After a second glance, the parameters were not correct. defaultThickness was too large and defaultColor has to be an array of three RBG values.

1 Like

Oh, I get it!
Thank you Mugen87 for teaching me so kindly.

1 Like